[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Dr. Stephen Henson steve at openssl.org
Thu Jan 22 12:44:03 UTC 2015


The branch OpenSSL_1_0_2-stable has been updated
       via  f11818c88dc0b22c65f19e3d351f3738f02898d7 (commit)
      from  3577e01438469a64bfd435cbad902f2e291ddb1f (commit)


- Log -----------------------------------------------------------------
commit f11818c88dc0b22c65f19e3d351f3738f02898d7
Author: Rob Stradling <rob.stradling at comodo.com>
Date:   Thu Jan 22 12:18:30 2015 +0000

    Use inner algorithm when printing certificate.
    
    Reviewed-by: Stephen Henson <steve at openssl.org>
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (cherry picked from commit 004efdbb41f731d36bf12d251909aaa08704a756)

-----------------------------------------------------------------------

Summary of changes:
 crypto/asn1/t_x509.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c
index 4c9bf2c..8aab551 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)


More information about the openssl-commits mailing list