Stop server from expecting Certificate message when not requested
authorMatt Caswell <matt@openssl.org>
Tue, 22 Nov 2016 16:54:28 +0000 (16:54 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 23 Jan 2017 14:09:10 +0000 (14:09 +0000)
commitcaa2427f0c743beb0f6d1736dc8c0e4e551a0e1f
tree0c9728d68efe6215e08d2fe415836c24e6403a60
parent8a72eafbeaef9df212675f4e0e169ce560b21f41
Stop server from expecting Certificate message when not requested

In a non client-auth renegotiation where the original handshake *was*
client auth, then the server will expect the client to send a Certificate
message anyway resulting in a connection failure.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1983)
ssl/statem/statem.c