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:48:37 +0000 (22:48 +0100)
commit3c0c68ae460e947aaae5702bda6258fb812e1029
treeff524f7c305520f461743b241b073b0ec7ec78dd
parentd602c2b680aefd3e0d00d090783ef5f912caf06a
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