Revert "Abort on unrecognised warning alerts"
authorMatt Caswell <matt@openssl.org>
Thu, 15 Sep 2016 19:43:16 +0000 (20:43 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 15 Sep 2016 21:51:06 +0000 (22:51 +0100)
commitea6e2d543653196cb6d095f72b35073404c8ae33
tree1893e463be596b0dd8a5d010a125ec91341b75d4
parent2abbe94828351178220b7e284504cfb5eb1dabbb
Revert "Abort on unrecognised warning alerts"

This reverts commit 77a6be4dfc2ecf406c2559a99bea51317ce0f533.

There were some unexpected side effects to this commit, e.g. in SSLv3 a
warning alert gets sent "no_certificate" if a client does not send a
Certificate during Client Auth. With the above commit this causes the
connection to abort, which is incorrect. There may be some other edge cases
like this so we need to have a rethink on this.

Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/record/rec_layer_s3.c