summaryrefslogtreecommitdiffstats
path: root/apps/genrsa.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2021-02-08 13:45:23 -0500
committerPauli <ppzgs1@gmail.com>2021-02-12 08:34:17 +1000
commit51e5df0ed01efa47335940425cc8744ecff1b6ae (patch)
tree067d0db16e79f27db232d29ecbf2355cc24e1f0c /apps/genrsa.c
parent182717bd8a7a438c110d3a3b28387477833b4edc (diff)
Load rand state after loading providers
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14135)
Diffstat (limited to 'apps/genrsa.c')
-rw-r--r--apps/genrsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/genrsa.c b/apps/genrsa.c
index 2cc1abfbe5..39c23e7df8 100644
--- a/apps/genrsa.c
+++ b/apps/genrsa.c
@@ -164,6 +164,7 @@ opthelp:
goto opthelp;
}
+ app_RAND_load();
private = 1;
if (!app_passwd(NULL, passoutarg, NULL, &passout)) {
BIO_printf(bio_err, "Error getting password\n");