Don't send a warning alert in TLSv1.3
authorMatt Caswell <matt@openssl.org>
Fri, 18 May 2018 08:08:19 +0000 (09:08 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 11 Jun 2018 14:46:21 +0000 (15:46 +0100)
commitfb62e47c782397cadf607b92ce50f2bbe250d12e
treed0c62044e28b8a0086dbf2bbdae02193fb8b8b29
parent4aa5a5669c69a66fbd8b31c52014356f1e960501
Don't send a warning alert in TLSv1.3

TLSv1.3 ignores the alert level, so we should suppress sending of
warning only alerts.

Fixes #6211

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6370)
ssl/statem/extensions.c