mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Call randombytes_stir() in sodium_init().
This commit is contained in:
@@ -12,6 +12,7 @@ sodium_init(void)
|
||||
if (initialized != 0) {
|
||||
return 1;
|
||||
}
|
||||
randombytes_stir();
|
||||
if (crypto_onetimeauth_pick_best_implementation() == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user