diff options
Diffstat (limited to 'source/test/unittests/secure_random.test.c')
-rw-r--r-- | source/test/unittests/secure_random.test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/test/unittests/secure_random.test.c b/source/test/unittests/secure_random.test.c index ec0a7b2..eadae65 100644 --- a/source/test/unittests/secure_random.test.c +++ b/source/test/unittests/secure_random.test.c @@ -8,9 +8,13 @@ TEST("secure random") { int v[20]; memset(v, 0, sizeof v); + secure_random_init(); + secure_random(40, v); secure_random(40, v + 10); + secure_random_cleanup(); + int repeats = 0; for (int i = 1; i < sizeof v / sizeof *v; i++) |