diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-03-14 13:10:48 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-03-14 13:10:48 +0000 |
commit | e19f6678f5861f5c313b9bceb382525005130e7d (patch) | |
tree | 08b9385d3bd59b50ce658ede624b50951b5e5fb4 /crypto/asn1/t_crl.c | |
parent | 624fbfcadbd35beed790ac9ba57f7f432a75a8db (diff) |
print signature parameters with CRLs too
Diffstat (limited to 'crypto/asn1/t_crl.c')
-rw-r--r-- | crypto/asn1/t_crl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/asn1/t_crl.c b/crypto/asn1/t_crl.c index bdb244c015..da7eff1f1d 100644 --- a/crypto/asn1/t_crl.c +++ b/crypto/asn1/t_crl.c @@ -94,8 +94,7 @@ int X509_CRL_print(BIO *out, X509_CRL *x) l = X509_CRL_get_version(x); BIO_printf(out, "%8sVersion %lu (0x%lx)\n", "", l+1, l); i = OBJ_obj2nid(x->sig_alg->algorithm); - BIO_printf(out, "%8sSignature Algorithm: %s\n", "", - (i == NID_undef) ? "NONE" : OBJ_nid2ln(i)); + X509_signature_print(out, x->sig_alg, NULL); p=X509_NAME_oneline(X509_CRL_get_issuer(x),NULL,0); BIO_printf(out,"%8sIssuer: %s\n","",p); OPENSSL_free(p); |