aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_crypto_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_crypto_hash.c')
-rw-r--r--src/util/test_crypto_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_crypto_hash.c b/src/util/test_crypto_hash.c
index a22a0e16a..e10aee9b1 100644
--- a/src/util/test_crypto_hash.c
+++ b/src/util/test_crypto_hash.c
@@ -98,7 +98,7 @@ testArithmetic ()
98 if (1 != GNUNET_CRYPTO_hash_get_bit (&d, 6)) 98 if (1 != GNUNET_CRYPTO_hash_get_bit (&d, 6))
99 return 1; 99 return 1;
100 memset (&d, 0, sizeof (d)); 100 memset (&d, 0, sizeof (d));
101 GNUNET_CRYPTO_hash_to_AES_key (&d, &skey, &iv); 101 GNUNET_CRYPTO_hash_to_aes_key (&d, &skey, &iv);
102 if ((0 != memcmp (&skey, &zskey, sizeof (skey) - sizeof (unsigned int))) || 102 if ((0 != memcmp (&skey, &zskey, sizeof (skey) - sizeof (unsigned int))) ||
103 (0 != memcmp (&iv, &ziv, sizeof (iv)))) 103 (0 != memcmp (&iv, &ziv, sizeof (iv))))
104 return 1; 104 return 1;