Don't return an error with crl -noout.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 11 Nov 2004 02:12:48 +0000 (02:12 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 11 Nov 2004 02:12:48 +0000 (02:12 +0000)
PR:917
Sumbmitted by: Michael Konietzka <konietzka@schlund.de>

apps/crl.c

index 81d66587c140cd14d4c38b4252ed8ad24e662312..878f65468eefab85b6ef173761d5b0ff7051a054 100644 (file)
@@ -355,7 +355,11 @@ bad:
 
        if (text) X509_CRL_print(out, x);
 
-       if (noout) goto end;
+       if (noout) 
+               {
+               ret = 0;
+               goto end;
+               }
 
        if      (outformat == FORMAT_ASN1)
                i=(int)i2d_X509_CRL_bio(out,x);