Add missing RAND initialisation call.
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> (Merged from https://github.com/openssl/openssl/pull/7587)
This commit is contained in:
parent
31f32abb8e
commit
ac765685d4
1 changed files with 2 additions and 1 deletions
|
@ -363,7 +363,8 @@ void rand_cleanup_int(void)
|
||||||
*/
|
*/
|
||||||
void RAND_keep_random_devices_open(int keep)
|
void RAND_keep_random_devices_open(int keep)
|
||||||
{
|
{
|
||||||
rand_pool_keep_random_devices_open(keep);
|
if (RUN_ONCE(&rand_init, do_rand_init))
|
||||||
|
rand_pool_keep_random_devices_open(keep);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue