Commit 751b26b1 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa Committed by Matt Caswell
Browse files

Don't change client random in Client Hello in its second flight

parent 30ff41be
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1035,8 +1035,9 @@ int tls_construct_client_hello(SSL *s, WPACKET *pkt)
                break;
            }
        }
    } else
        i = 1;
    } else {
        i = s->hello_retry_request == 0;
    }

    if (i && ssl_fill_hello_random(s, 0, p, sizeof(s->s3->client_random),
                                   DOWNGRADE_NONE) <= 0)