Stop client from sending Certificate message when not requested
[openssl.git] / ssl / statem / statem.c
index a1da2a4418d112eac0f88beb28b6428065bbc0f6..f39a52946304ed5c5f1bc148ff7368ff24d5f56f 100644 (file)
@@ -355,6 +355,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;