mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Trigger randombytes_seedbytes()
This commit is contained in:
parent
fe3e60392c
commit
93d02019da
@ -111,6 +111,9 @@ static int randombytes_tests(void)
|
|||||||
randombytes(x, 1U);
|
randombytes(x, 1U);
|
||||||
randombytes_close();
|
randombytes_close();
|
||||||
|
|
||||||
|
assert(randombytes_SEEDBYTES > 0);
|
||||||
|
assert(randombytes_seedbytes() == randombytes_SEEDBYTES);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user