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

Retry callback only after ClientHello received.

parent 14c67a70
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -949,7 +949,7 @@ int ssl3_get_client_hello(SSL *s)
#endif
#endif
	STACK_OF(SSL_CIPHER) *ciphers=NULL;
	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;
		goto retry_cert;


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