diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-09-08 08:10:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-09-08 08:10:18 +0000 |
commit | c2017c2ba13736ee1fe4dc9d811d49bee1641ca3 (patch) | |
tree | 93ae178521584311eeecdf1e5448a27925bfc681 /src/util/test_crypto_hash.c | |
parent | 3da5c316b7b992fcc33328043151cf8cb25bf640 (diff) | |
download | gnunet-c2017c2ba13736ee1fe4dc9d811d49bee1641ca3.tar.gz gnunet-c2017c2ba13736ee1fe4dc9d811d49bee1641ca3.zip |
fixes
Diffstat (limited to 'src/util/test_crypto_hash.c')
-rw-r--r-- | src/util/test_crypto_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_crypto_hash.c b/src/util/test_crypto_hash.c index e10aee9b1..97ef4ec88 100644 --- a/src/util/test_crypto_hash.c +++ b/src/util/test_crypto_hash.c | |||
@@ -73,8 +73,8 @@ testArithmetic () | |||
73 | struct GNUNET_CRYPTO_AesSessionKey skey; | 73 | struct GNUNET_CRYPTO_AesSessionKey skey; |
74 | struct GNUNET_CRYPTO_AesInitializationVector iv; | 74 | struct GNUNET_CRYPTO_AesInitializationVector iv; |
75 | 75 | ||
76 | GNUNET_CRYPTO_hash_create_random (&h1); | 76 | GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &h1); |
77 | GNUNET_CRYPTO_hash_create_random (&h2); | 77 | GNUNET_CRYPTO_hash_create_random (GNUNET_CRYPTO_QUALITY_WEAK, &h2); |
78 | if (GNUNET_CRYPTO_hash_distance_u32 (&h1, &h2) != | 78 | if (GNUNET_CRYPTO_hash_distance_u32 (&h1, &h2) != |
79 | GNUNET_CRYPTO_hash_distance_u32 (&h2, &h1)) | 79 | GNUNET_CRYPTO_hash_distance_u32 (&h2, &h1)) |
80 | return 1; | 80 | return 1; |