diff options
author | Piotr Sikora <piotr@cloudflare.com> | 2014-03-18 23:55:32 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-03-18 23:58:39 +0000 |
commit | aa10982c49c941799b4229cc9b081dcc738f6ee8 (patch) | |
tree | d4ad7096b7a2b403ac92dceae326198f8a79f8c4 | |
parent | 8b0336c810848069139a418d22b1e09ad163f0e5 (diff) | |
download | openssl-new-aa10982c49c941799b4229cc9b081dcc738f6ee8.tar.gz |
Retry callback only after ClientHello received.
(cherry picked from commit f04665a653665cd6432b9adfeb7c7f12a7447d26)
-rw-r--r-- | ssl/s3_srvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index bea6e2750b..8d0e54315f 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -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. |