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:51:00 +0000 (11:51 +0100)
commit77a6be4dfc2ecf406c2559a99bea51317ce0f533
treead14d5714a07eecf2d14489758abe6f9b332705e
parentc0f9e23c6b8d1076796987d5a84557d410682d85
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>
ssl/record/rec_layer_s3.c