TLSv1.3 alert and handshake messages can never be 0 length
authorMatt Caswell <matt@openssl.org>
Thu, 11 May 2017 09:34:25 +0000 (10:34 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 11 May 2017 12:13:04 +0000 (13:13 +0100)
commitfc4c15faa462c1a4cbf002f214f6503e629e7a20
tree86159f06f5bf5499bf2c152703a0fed697b9623e
parent0b367d79552401c221affa406b978a5b33d79032
TLSv1.3 alert and handshake messages can never be 0 length

We abort if we read a message like this.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3436)
ssl/record/ssl3_record.c