diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-02-15 15:28:56 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-02-15 15:33:15 +0000 |
commit | 59088e43b13da40beb09728bc142964e482b5a8f (patch) | |
tree | 8c5a4ecda4ea7864253fff633931dd07ef20a96b /ssl | |
parent | 399976c7ba8dcc9eba3641e03d0bb41e4d137ed1 (diff) |
Set current certificate to selected certificate.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2637)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/t1_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 3e00cdbfd0..6aa4decfe1 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; } |