summaryrefslogtreecommitdiffstats
path: root/apps/gendsa.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2021-02-08 19:45:23 +0100
committerPauli <ppzgs1@gmail.com>2021-02-11 23:34:17 +0100
commit51e5df0ed01efa47335940425cc8744ecff1b6ae (patch)
tree067d0db16e79f27db232d29ecbf2355cc24e1f0c /apps/gendsa.c
parentFetch alg, etc., after loading providers (diff)
downloadopenssl-51e5df0ed01efa47335940425cc8744ecff1b6ae.tar.xz
openssl-51e5df0ed01efa47335940425cc8744ecff1b6ae.zip
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/gendsa.c')
-rw-r--r--apps/gendsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gendsa.c b/apps/gendsa.c
index c90a01d979..81ab10d07c 100644
--- a/apps/gendsa.c
+++ b/apps/gendsa.c
@@ -108,6 +108,7 @@ int gendsa_main(int argc, char **argv)
if (argc != 1)
goto opthelp;
+ app_RAND_load();
dsaparams = argv[0];
private = 1;