提交 290be870 编写于 作者: D Dr. Stephen Henson

using_ecc doesn't just apply to TLSv1

上级 fa71cc7b
......@@ -1336,7 +1336,7 @@ int ssl_prepare_clienthello_tlsext(SSL *s)
break;
}
}
using_ecc = using_ecc && (s->version == TLS1_VERSION);
using_ecc = using_ecc && (s->version >= TLS1_VERSION);
if (using_ecc)
{
if (s->tlsext_ecpointformatlist != NULL) OPENSSL_free(s->tlsext_ecpointformatlist);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册