Make sure we treat records written after HRR as TLSv1.3
authorMatt Caswell <matt@openssl.org>
Thu, 30 Nov 2017 15:49:08 +0000 (15:49 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 14 Dec 2017 15:06:38 +0000 (15:06 +0000)
commit758e05c52ec5acb133647e69495812269ad67525
treeb885debe6163dead8d4aaebf9d7a682b7fe64495
parent318d3c0e62d0de511b8721e087278a6c70db8b92
Make sure we treat records written after HRR as TLSv1.3

This fixes a bug where some CCS records were written with the wrong TLS
record version.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4701)
ssl/ssl_locl.h