crl: noout is not an output item
authorTomas Mraz <tomas@openssl.org>
Tue, 27 Apr 2021 09:44:05 +0000 (11:44 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 29 Apr 2021 09:36:12 +0000 (11:36 +0200)
Fixes #15034

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15044)

apps/crl.c

index 7f09d476c1f9011626c9adad5e5f6f892cb656bd..fbdd2a896c7d1e3d7bcca79e38e798535b63428c 100644 (file)
@@ -177,7 +177,7 @@ int crl_main(int argc, char **argv)
             nextupdate = ++num;
             break;
         case OPT_NOOUT:
-            noout = ++num;
+            noout = 1;
             break;
         case OPT_FINGERPRINT:
             fingerprint = ++num;