summaryrefslogtreecommitdiffstats
path: root/apps/crl.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2021-02-08 14:20:01 -0500
committerPauli <ppzgs1@gmail.com>2021-02-12 08:34:17 +1000
commit03bbd346f4410c329d472cc043fb6c49f6688eba (patch)
tree4404d27a430f7a3c8a33ddd6d0633fb35d9a4065 /apps/crl.c
parentd0190e11639956677747f6bc7bb5bcd610fd8600 (diff)
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.c6
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;