diff options
author | Rich Salz <rsalz@akamai.com> | 2021-02-08 14:20:01 -0500 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-02-12 08:34:17 +1000 |
commit | 03bbd346f4410c329d472cc043fb6c49f6688eba (patch) | |
tree | 4404d27a430f7a3c8a33ddd6d0633fb35d9a4065 /apps/crl.c | |
parent | d0190e11639956677747f6bc7bb5bcd610fd8600 (diff) | |
download | openssl-03bbd346f4410c329d472cc043fb6c49f6688eba.tar.gz |
Fetch cipher 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/crl.c')
-rw-r--r-- | apps/crl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/crl.c b/apps/crl.c index 34551cc3a4..dd9d41e8ea 100644 --- a/apps/crl.c +++ b/apps/crl.c @@ -207,8 +207,10 @@ int crl_main(int argc, char **argv) if (argc != 0) goto opthelp; - if (digestname != NULL && !opt_md(digestname, &digest)) - goto opthelp; + if (digestname != NULL) { + if (!opt_md(digestname, &digest)) + goto opthelp; + } x = load_crl(infile, "CRL"); if (x == NULL) goto end; |