diff options
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; |