1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

Trigger randombytes_seedbytes()

This commit is contained in:
Frank Denis 2017-02-19 19:10:08 +01:00
parent fe3e60392c
commit 93d02019da

View File

@ -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;
}