lib/util: Add test of data_blob_equal_const_time()
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 11 May 2022 02:05:34 +0000 (14:05 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 Jun 2022 22:49:29 +0000 (22:49 +0000)
commita80d783a341fd8b88d73e04bf831b91984f87b73
treee7c74f7cd82e4c45b135478bcf26a9b365a02761
parent8d7a091adcbd4eaa9e5e736413a179c322f6869d
lib/util: Add test of data_blob_equal_const_time()

Ensure that it gives the correct results for comparing two data blobs.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/tests/data_blob.c