aboutsummaryrefslogtreecommitdiffstats
path: root/apps/pkcs8.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/pkcs8.c
parent182717bd8a7a438c110d3a3b28387477833b4edc (diff)
downloadopenssl-51e5df0ed01efa47335940425cc8744ecff1b6ae.tar.gz
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/pkcs8.c')
-rw-r--r--apps/pkcs8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/pkcs8.c b/apps/pkcs8.c
index ae0824c6d2..1c459e7bc2 100644
--- a/apps/pkcs8.c
+++ b/apps/pkcs8.c
@@ -200,6 +200,7 @@ int pkcs8_main(int argc, char **argv)
goto opthelp;
private = 1;
+ app_RAND_load();
if (!app_passwd(passinarg, passoutarg, &passin, &passout)) {
BIO_printf(bio_err, "Error getting passwords\n");