From: Dr. Stephen Henson Date: Sun, 14 Mar 2010 13:10:48 +0000 (+0000) Subject: print signature parameters with CRLs too X-Git-Tag: OpenSSL-fips-2_0-rc1~1181 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=e19f6678f5861f5c313b9bceb382525005130e7d print signature parameters with CRLs too --- 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);