Don't interleave handshake and other record types in TLSv1.3
authorMatt Caswell <matt@openssl.org>
Fri, 8 Feb 2019 16:36:32 +0000 (16:36 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 19 Feb 2019 09:37:29 +0000 (09:37 +0000)
commit8f6567dfd731ee8904c8f58ba8e5044953766963
tree258be275404c04b62ce6ee03e46ea91bf65707f7
parenta81cc6e8a240b27d0e0e6404dd29970375a4f5fc
Don't interleave handshake and other record types in TLSv1.3

In TLSv1.3 it is illegal to interleave handshake records with non handshake
records.

Fixes #8189

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

(cherry picked from commit 3d35e3a253a2895f263333bb4355760630a31955)
crypto/err/openssl.txt
include/openssl/sslerr.h
ssl/record/rec_layer_s3.c
ssl/ssl_err.c