Preserve digests for SNI.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 10 Oct 2014 12:18:09 +0000 (13:18 +0100)
committerJanusz Kozerski <j.kozerski@samsung.com>
Mon, 20 Oct 2014 13:26:05 +0000 (15:26 +0200)
commit3b03fe1079c2fec254a8126677e8c0a4f9661a8e
treeca93f3c14541b366cffdfd938d9157ac91a7fdf1
parent43b8b2cecb8b7155e7dbfdf11d1f9d1fc3c9b4d6
Preserve digests for SNI.

SSL_set_SSL_CTX is normally called for SNI after ClientHello has
received and the digest to use for each certificate has been decided.
The original ssl->cert contains the negotiated digests and is now
copied to the new ssl->cert.

PR: 3560
Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/ssl_lib.c