提交 226751ae 编写于 作者: D Dr. Stephen Henson

Set TLS v1.2 disabled mask properly.

上级 1769dfab
...@@ -1073,6 +1073,11 @@ int ssl3_get_server_hello(SSL *s) ...@@ -1073,6 +1073,11 @@ int ssl3_get_server_hello(SSL *s)
SSLerr(SSL_F_SSL3_GET_SERVER_HELLO,SSL_R_UNKNOWN_CIPHER_RETURNED); SSLerr(SSL_F_SSL3_GET_SERVER_HELLO,SSL_R_UNKNOWN_CIPHER_RETURNED);
goto f_err; goto f_err;
} }
/* Set version disabled mask now we know version */
if (!SSL_USE_TLS1_2_CIPHERS(s))
ct->mask_ssl = SSL_TLSV1_2;
else
ct->mask_ssl = 0;
/* If it is a disabled cipher we didn't send it in client hello, /* If it is a disabled cipher we didn't send it in client hello,
* so return an error. * so return an error.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册