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 11:00:07 +0000 (12:00 +0100)
commit15d81749322c3498027105f8ee44e8c25479d475
tree0bdad2d86ce0d0eece14e4db03ce349ae56722f5
parent204fb53895618672120474bac194269c0f837632
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/s3_pkt.c