Stop client from sending Certificate message when not requested
authorMatt Caswell <matt@openssl.org>
Tue, 22 Nov 2016 16:39:27 +0000 (16:39 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 23 Jan 2017 14:09:10 +0000 (14:09 +0000)
commit8a72eafbeaef9df212675f4e0e169ce560b21f41
tree5b619d1613135b099bcee2ea60f0bee501276664
parentc25d172a5845824e225db91ef87c7f8d0ea803e6
Stop client from sending Certificate message when not requested

In a non client-auth renegotiation where the original handshake *was*
client auth, then the client will 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