diff options
Diffstat (limited to 'src/util/crypto_hash.c')
-rw-r--r-- | src/util/crypto_hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto_hash.c b/src/util/crypto_hash.c index 60104b604..73b9c9654 100644 --- a/src/util/crypto_hash.c +++ b/src/util/crypto_hash.c | |||
@@ -688,7 +688,7 @@ GNUNET_CRYPTO_hash_create_random (enum GNUNET_CRYPTO_Quality mode, | |||
688 | { | 688 | { |
689 | int i; | 689 | int i; |
690 | for (i = (sizeof (GNUNET_HashCode) / sizeof (uint32_t)) - 1; i >= 0; i--) | 690 | for (i = (sizeof (GNUNET_HashCode) / sizeof (uint32_t)) - 1; i >= 0; i--) |
691 | result->bits[i] = GNUNET_CRYPTO_random_u32 (mode, (uint32_t) - 1); | 691 | result->bits[i] = GNUNET_CRYPTO_random_u32 (mode, UINT32_MAX); |
692 | } | 692 | } |
693 | 693 | ||
694 | void | 694 | void |