summaryrefslogtreecommitdiffstats
path: root/apps/rand.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/rand.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/rand.c')
-rw-r--r--apps/rand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/rand.c b/apps/rand.c
index c78123e161..69a13f975e 100644
--- a/apps/rand.c
+++ b/apps/rand.c
@@ -99,6 +99,7 @@ int rand_main(int argc, char **argv)
goto opthelp;
}
+ app_RAND_load();
out = bio_open_default(outfile, 'w', format);
if (out == NULL)
goto end;