diff options
author | Rich Salz <rsalz@akamai.com> | 2021-02-08 19:45:23 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-11 23:34:17 +0100 |
commit | 51e5df0ed01efa47335940425cc8744ecff1b6ae (patch) | |
tree | 067d0db16e79f27db232d29ecbf2355cc24e1f0c /apps/enc.c | |
parent | Fetch alg, etc., after loading providers (diff) | |
download | openssl-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/enc.c')
-rw-r--r-- | apps/enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/enc.c b/apps/enc.c index 0a8591de83..4549895b9e 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -293,6 +293,7 @@ int enc_main(int argc, char **argv) argc = opt_num_rest(); if (argc != 0) goto opthelp; + app_RAND_load(); /* Get the cipher name, either from progname (if set) or flag. */ if (ciphername != NULL) { |