mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
No need to call randombytes_sysrandom_stir_if_needed() twice.
This commit is contained in:
@@ -148,7 +148,6 @@ randombytes_sysrandom(void)
|
||||
{
|
||||
uint32_t r;
|
||||
|
||||
randombytes_sysrandom_stir_if_needed();
|
||||
randombytes_sysrandom_buf(&r, sizeof r);
|
||||
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user