diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-03-27 14:06:25 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-03-27 14:06:25 +0000 |
commit | 785cdf20482063a6b59c44825e33c1dee60217d2 (patch) | |
tree | 58f0d2c932ca955c34677b8cf61792748d2c0c53 /crypto/asn1/t_crl.c | |
parent | ba423addddbc43be1e3bddca727332a9bfe3cb46 (diff) |
Add initial support for Thawte strong extranet certificate extensions and
include an 'indent' option to V3 stuff.
Diffstat (limited to 'crypto/asn1/t_crl.c')
-rw-r--r-- | crypto/asn1/t_crl.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/asn1/t_crl.c b/crypto/asn1/t_crl.c index d36b0c23af..eb0ab2e323 100644 --- a/crypto/asn1/t_crl.c +++ b/crypto/asn1/t_crl.c @@ -167,8 +167,10 @@ X509_EXTENSION *ex; obj=X509_EXTENSION_get_object(ex); i2a_ASN1_OBJECT(out,obj); j=X509_EXTENSION_get_critical(ex); - BIO_printf(out, ": %s\n%16s", j ? "critical":"",""); - if(!X509V3_EXT_print(out, ex, 0)) - ASN1_OCTET_STRING_print(out,ex->value); + BIO_printf(out, ": %s\n", j ? "critical":"",""); + if(!X509V3_EXT_print(out, ex, 0, 16)) { + BIO_printf(out, "%16s", ""); + ASN1_OCTET_STRING_print(out,ex->value); + } BIO_write(out,"\n",1); } |