[openssl-commits] [openssl] master update

Dr. Stephen Henson steve at openssl.org
Wed Feb 15 16:45:56 UTC 2017


The branch master has been updated
       via  59088e43b13da40beb09728bc142964e482b5a8f (commit)
      from  399976c7ba8dcc9eba3641e03d0bb41e4d137ed1 (commit)


- Log -----------------------------------------------------------------
commit 59088e43b13da40beb09728bc142964e482b5a8f
Author: Dr. Stephen Henson <steve at openssl.org>
Date:   Wed Feb 15 15:28:56 2017 +0000

    Set current certificate to selected certificate.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/2637)

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

Summary of changes:
 ssl/t1_lib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c
index 3e00cdb..6aa4dec 100644
--- a/ssl/t1_lib.c
+++ b/ssl/t1_lib.c
@@ -2444,6 +2444,7 @@ int tls_choose_sigalg(SSL *s, int *al)
         }
     }
     s->s3->tmp.cert = &s->cert->pkeys[idx];
+    s->cert->key = s->s3->tmp.cert;
     s->s3->tmp.sigalg = lu;
     return 1;
 }


More information about the openssl-commits mailing list