From 93d02019da239bebc260c12a649d98e134947a93 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 19 Feb 2017 19:10:08 +0100 Subject: [PATCH] Trigger randombytes_seedbytes() --- test/default/randombytes.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/default/randombytes.c b/test/default/randombytes.c index 77319d03..c85664f0 100644 --- a/test/default/randombytes.c +++ b/test/default/randombytes.c @@ -111,6 +111,9 @@ static int randombytes_tests(void) randombytes(x, 1U); randombytes_close(); + assert(randombytes_SEEDBYTES > 0); + assert(randombytes_seedbytes() == randombytes_SEEDBYTES); + return 0; }