|
@@ -951,7 +951,8 @@ tor_tls_server_info_callback(const SSL *ssl, int type, int val)
|
|
(void) val;
|
|
(void) val;
|
|
if (type != SSL_CB_ACCEPT_LOOP)
|
|
if (type != SSL_CB_ACCEPT_LOOP)
|
|
return;
|
|
return;
|
|
- if (ssl->state != SSL3_ST_SW_SRVR_HELLO_A)
|
|
|
|
|
|
+ if ((ssl->state != SSL3_ST_SW_SRVR_HELLO_A) &&
|
|
|
|
+ (ssl->state != SSL3_ST_SW_SRVR_HELLO_B))
|
|
return;
|
|
return;
|
|
|
|
|
|
tls = tor_tls_get_by_ssl(ssl);
|
|
tls = tor_tls_get_by_ssl(ssl);
|