Minor enhancement to PR#2836 fix. Instead of modifying SSL_get_certificate
authorDr. Stephen Henson <steve@openssl.org>
Tue, 11 Sep 2012 13:35:14 +0000 (13:35 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 11 Sep 2012 13:35:14 +0000 (13:35 +0000)
commitdc144417571735c82853421a8845ef603d828a0b
tree60748cc86a51766636b065f293634d0fc184e3bc
parentda8512aaffe3580e3701198ef9eba2471c5edbc2
Minor enhancement to PR#2836 fix. Instead of modifying SSL_get_certificate
change the current certificate (in s->cert->key) to the one used and then
SSL_get_certificate and SSL_get_privatekey will automatically work.
CHANGES
ssl/ssl_lib.c
ssl/t1_lib.c