Fix openssl crl -noout -text' combination where
-noout' killed the `-text'
option at all and this way the `-noout -text' combination was inconsistent in `openssl crl' with the friends in `openssl x509|rsa|dsa'.
This commit is contained in:
parent
268c2102e3
commit
2f0cd19533
5
CHANGES
5
CHANGES
@ -5,6 +5,11 @@
|
|||||||
|
|
||||||
Changes between 0.9.2b and 0.9.3
|
Changes between 0.9.2b and 0.9.3
|
||||||
|
|
||||||
|
*) Fix `openssl crl -noout -text' combination where `-noout' killed the
|
||||||
|
`-text' option at all and this way the `-noout -text' combination was
|
||||||
|
inconsistent in `openssl crl' with the friends in `openssl x509|rsa|dsa'.
|
||||||
|
[Ralf S. Engelschall]
|
||||||
|
|
||||||
*) Make sure a corresponding plain text error message exists for the
|
*) Make sure a corresponding plain text error message exists for the
|
||||||
X509_V_ERR_CERT_REVOKED/23 error number which can occur when a
|
X509_V_ERR_CERT_REVOKED/23 error number which can occur when a
|
||||||
verify callback function determined that a certificate was revoked.
|
verify callback function determined that a certificate was revoked.
|
||||||
|
@ -221,8 +221,6 @@ bad:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (noout) goto end;
|
|
||||||
|
|
||||||
out=BIO_new(BIO_s_file());
|
out=BIO_new(BIO_s_file());
|
||||||
if (out == NULL)
|
if (out == NULL)
|
||||||
{
|
{
|
||||||
@ -242,6 +240,9 @@ bad:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (text) X509_CRL_print(out, x);
|
if (text) X509_CRL_print(out, x);
|
||||||
|
|
||||||
|
if (noout) goto end;
|
||||||
|
|
||||||
if (outformat == FORMAT_ASN1)
|
if (outformat == FORMAT_ASN1)
|
||||||
i=(int)i2d_X509_CRL_bio(out,x);
|
i=(int)i2d_X509_CRL_bio(out,x);
|
||||||
else if (outformat == FORMAT_PEM)
|
else if (outformat == FORMAT_PEM)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user