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 14:10:02 +0000 |
commit | 73f89820175136769d088a3732000d24c4ac2164 (patch) | |
tree | 2a4dc85b9d7f6f7f7358a4c59ed7922cb7a2f890 | |
parent | cda8845ded7c0739c9142283ed4c449130b1b546 (diff) | |
download | openssl-new-73f89820175136769d088a3732000d24c4ac2164.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>
(cherry picked from commit 004efdbb41f731d36bf12d251909aaa08704a756)
-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 07e6397e85..4e7c45dd5d 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) |