From 9262f5a3fa3011775c7242fecff2c941a8f5a00e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 11 Nov 2004 02:12:48 +0000 Subject: [PATCH] Don't return an error with crl -noout. PR:917 Sumbmitted by: Michael Konietzka --- apps/crl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/crl.c b/apps/crl.c index 81d66587c1..878f65468e 100644 --- a/apps/crl.c +++ b/apps/crl.c @@ -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); -- 2.25.1