Commit aa10982c authored by Piotr Sikora's avatar Piotr Sikora Committed by Dr. Stephen Henson
Browse files

Retry callback only after ClientHello received.

(cherry picked from commit f04665a6)
parent 8b0336c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -950,7 +950,7 @@ int ssl3_get_client_hello(SSL *s)
#endif
	STACK_OF(SSL_CIPHER) *ciphers=NULL;

	if (s->state == SSL3_ST_SR_CLNT_HELLO_C)
	if (s->state == SSL3_ST_SR_CLNT_HELLO_C && !s->first_packet)
		goto retry_cert;

	/* We do this so that we will respond with our native type.