diff options
author | Rich Salz <rsalz@akamai.com> | 2021-02-08 13:45:23 -0500 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-12 08:34:17 +1000 |
commit | 51e5df0ed01efa47335940425cc8744ecff1b6ae (patch) | |
tree | 067d0db16e79f27db232d29ecbf2355cc24e1f0c /apps/x509.c | |
parent | 182717bd8a7a438c110d3a3b28387477833b4edc (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/x509.c')
-rw-r--r-- | apps/x509.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/x509.c b/apps/x509.c index 3fdd44f2f3..2ddb549939 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -579,6 +579,7 @@ int x509_main(int argc, char **argv) if (argc != 0) goto opthelp; + app_RAND_load(); if (preserve_dates && days != UNSET_DAYS) { BIO_printf(bio_err, "Cannot use -preserve_dates with -days option\n"); goto end; |