Fix ciphersuite handling during an HRR
authorMatt Caswell <matt@openssl.org>
Wed, 15 Mar 2017 18:41:50 +0000 (18:41 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 16 Mar 2017 14:20:38 +0000 (14:20 +0000)
commit69b2d39332e04d0745faed119eaad5e6a9033082
treeb696de4573e7b37783f03ea01586f41409ccd8c3
parentcf3e221bd90085035d869d3a233a03970d036638
Fix ciphersuite handling during an HRR

Choose a new ciphersuite for the HRR. Don't just use the one from the
session.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2895)
ssl/statem/statem_srvr.c