Commit 8a72eafb authored by Matt Caswell's avatar Matt Caswell
Browse files

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: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1983)
parent c25d172a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -369,6 +369,7 @@ static int state_machine(SSL *s, int server)
            s->hit = 0;

            s->s3->tmp.cert_request = 0;
            s->s3->tmp.cert_req = 0;

            if (SSL_IS_DTLS(s)) {
                st->use_timer = 1;