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/ca.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/ca.c')
-rwxr-xr-x | apps/ca.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -209,7 +209,7 @@ const OPTIONS ca_options[] = { {"noemailDN", OPT_NOEMAILDN, '-', "Don't add the EMAIL field to the DN"}, OPT_SECTION("Signing"), - {"md", OPT_MD, 's', "md to use; one of md2, md5, sha or sha1"}, + {"md", OPT_MD, 's', "Digest to use, such as sha256"}, {"keyfile", OPT_KEYFILE, 's', "The CA private key"}, {"keyform", OPT_KEYFORM, 'f', "Private key file format (ENGINE, other values ignored)"}, @@ -521,6 +521,7 @@ end_of_options: goto end; app_RAND_load_conf(conf, BASE_SECTION); + app_RAND_load(); f = NCONF_get_string(conf, section, STRING_MASK); if (f == NULL) |