Call OCSP Stapling callback after ciphersuite has been chosen, so the
authorBen Laurie <ben@openssl.org>
Mon, 17 Sep 2012 14:39:38 +0000 (14:39 +0000)
committerBen Laurie <ben@openssl.org>
Mon, 17 Sep 2012 14:39:38 +0000 (14:39 +0000)
commit70d91d60bc68ade5d12cc9de6c9f3f10f319a5c5
tree6f7f99154ad449ad5391d728723a21c7aa3f1cd1
parentbc788830173a10023f567f959e434f74eceff694
Call OCSP Stapling callback after ciphersuite has been chosen, so the
right response is stapled. Also change SSL_get_certificate() so it
returns the certificate actually sent.

See http://rt.openssl.org/Ticket/Display.html?id=2836.
CHANGES
ssl/s3_srvr.c
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/t1_lib.c