Call randombytes_stir() in sodium_init().
This commit is contained in:
parent
076eb56e24
commit
8de0ae0e73
@ -12,6 +12,7 @@ sodium_init(void)
|
|||||||
if (initialized != 0) {
|
if (initialized != 0) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
randombytes_stir();
|
||||||
if (crypto_onetimeauth_pick_best_implementation() == NULL) {
|
if (crypto_onetimeauth_pick_best_implementation() == NULL) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user