Retry callback only after ClientHello received.
(cherry picked from commit f04665a653
)
This commit is contained in:
parent
8b0336c810
commit
aa10982c49
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue