summaryrefslogtreecommitdiff
path: root/app/openssl/crypto/asn1/t_crl.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/openssl/crypto/asn1/t_crl.c')
-rw-r--r--app/openssl/crypto/asn1/t_crl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/openssl/crypto/asn1/t_crl.c b/app/openssl/crypto/asn1/t_crl.c
index ee5a687c..c6116920 100644
--- a/app/openssl/crypto/asn1/t_crl.c
+++ b/app/openssl/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);