summaryrefslogtreecommitdiff
path: root/src/util/test_crypto_random.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_crypto_random.c')
-rw-r--r--src/util/test_crypto_random.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/test_crypto_random.c b/src/util/test_crypto_random.c
index 5e159d949..b9cbbdf76 100644
--- a/src/util/test_crypto_random.c
+++ b/src/util/test_crypto_random.c
@@ -33,6 +33,7 @@ test (enum GNUNET_CRYPTO_Quality mode)
unsigned int *b2;
int i;
unsigned long long n;
+ struct GNUNET_Uuid tf;
for (i = 0; i < 1024; i++)
GNUNET_break (1024 > (buf[i] = GNUNET_CRYPTO_random_u32 (mode, 1024)));
@@ -53,6 +54,8 @@ test (enum GNUNET_CRYPTO_Quality mode)
for (n = 10; n < 1024LL * 1024LL * 1024LL; n *= 10)
GNUNET_break (n > GNUNET_CRYPTO_random_u64 (mode, n));
+ GNUNET_CRYPTO_random_timeflake (mode,
+ &tf);
return 0;
}