diff options
author | Rob Stradling <rob.stradling@comodo.com> | 2015-01-22 12:18:30 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-01-22 12:40:42 +0000 |
commit | 004efdbb41f731d36bf12d251909aaa08704a756 (patch) | |
tree | 276f124876b1de7d3c04f490a49b39b9c8cbe4b5 /crypto/asn1/t_x509.c | |
parent | 732c5a6b928f10de4d6ca0394f49e9938a47a93b (diff) | |
download | openssl-004efdbb41f731d36bf12d251909aaa08704a756.tar.gz |
Use inner algorithm when printing certificate.
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/asn1/t_x509.c')
-rw-r--r-- | crypto/asn1/t_x509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c index f33932a5d1..0bdc2c2230 100644 --- a/crypto/asn1/t_x509.c +++ b/crypto/asn1/t_x509.c @@ -164,7 +164,7 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, } if (!(cflag & X509_FLAG_NO_SIGNAME)) { - if (X509_signature_print(bp, x->sig_alg, NULL) <= 0) + if (X509_signature_print(bp, ci->signature, NULL) <= 0) goto err; #if 0 if (BIO_printf(bp, "%8sSignature Algorithm: ", "") <= 0) |