Abort on unrecognised warning alerts
authorMatt Caswell <matt@openssl.org>
Mon, 12 Sep 2016 10:04:51 +0000 (11:04 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 13 Sep 2016 10:53:54 +0000 (11:53 +0100)
commit4bc54bf8b45ca0997ab6ffb13cc32b3ae1979ccc
tree6ecae9fb9530521c6e2210dc38f4594a3c0dd98d
parent469f593170d9170da632bb0afd634e971c3234e7
Abort on unrecognised warning alerts

A peer continually sending unrecognised warning alerts could mean that we
make no progress on a connection. We should abort rather than continuing if
we receive an unrecognised warning alert.

Thanks to Shi Lei for reporting this issue.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 77a6be4dfc2ecf406c2559a99bea51317ce0f533)
ssl/record/rec_layer_s3.c