[openssl-commits] [openssl] OpenSSL_1_1_1-stable update
Paul I. Dale
pauli at openssl.org
Wed Nov 7 22:13:27 UTC 2018
The branch OpenSSL_1_1_1-stable has been updated
via f7258489d88432dfc431772314ebac1c2997fdf8 (commit)
from 294941aebb28329efa17acd8fe6eb8b3cc3ce345 (commit)
- Log -----------------------------------------------------------------
commit f7258489d88432dfc431772314ebac1c2997fdf8
Author: Pauli <paul.dale at oracle.com>
Date: Thu Nov 8 07:22:01 2018 +1000
Add missing RAND initialisation call.
Reviewed-by: Bernd Edlinger <bernd.edlinger at hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/7587)
(cherry picked from commit ac765685d4b08a48cefffc71c434760045154dad)
-----------------------------------------------------------------------
Summary of changes:
crypto/rand/rand_lib.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 4f1a134..277403c 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -363,7 +363,8 @@ void rand_cleanup_int(void)
*/
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);
}
/*
More information about the openssl-commits
mailing list