提交 7744ef1a 编写于 作者: D Dr. Stephen Henson

use client version when deciding whether to send supported signature algorithms extension

上级 ed998634
......@@ -544,7 +544,7 @@ unsigned char *ssl_add_clienthello_tlsext(SSL *s, unsigned char *p, unsigned cha
}
skip_ext:
if (TLS1_get_version(s) >= TLS1_2_VERSION)
if (TLS1_get_client_version(s) >= TLS1_2_VERSION)
{
if ((size_t)(limit - ret) < sizeof(tls12_sigalgs) + 6)
return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册