Don't return an error with crl -noout.

PR:917
Sumbmitted by: Michael Konietzka <konietzka@schlund.de>
This commit is contained in:
Dr. Stephen Henson 2004-11-11 02:13:08 +00:00
parent 68d9e764cb
commit 10f92aac33
1 changed files with 5 additions and 1 deletions

View 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);