Fix for SSL_get_certificate
authorDr. Stephen Henson <steve@openssl.org>
Mon, 11 Feb 2013 18:24:03 +0000 (18:24 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 11 Feb 2013 18:27:41 +0000 (18:27 +0000)
commitf751dc47596050694c19feba162e63f610e29a74
tree7c736680a8143dc1484b4cc370f77a42f2de3439
parentfbe621d08f2026926c91c1c5f386b27605e39a43
Fix for SSL_get_certificate

Now we set the current certificate to the one used by a server
there is no need to call ssl_get_server_send_cert which will
fail if we haven't sent a certificate yet.
(cherry picked from commit 147dbb2fe3bead7a10e2f280261b661ce7af7adc)
ssl/ssl_lib.c