提交 cef80e8c 编写于 作者: B Bodo Möller

SSL_R_UNSUPPORTED_PROTOCOL (as in s23_clnt.c) for SSL 2 when

NO_SSL2 is defined, not SSL_R_UNKNOWN_PROTOCOL.
上级 aa82db4f
...@@ -453,7 +453,7 @@ next_bit: ...@@ -453,7 +453,7 @@ next_bit:
if (type == 1) if (type == 1)
{ {
#ifdef NO_SSL2 #ifdef NO_SSL2
SSLerr(SSL_F_SSL23_GET_CLIENT_HELLO,SSL_R_UNKNOWN_PROTOCOL); SSLerr(SSL_F_SSL23_GET_CLIENT_HELLO,SSL_R_UNSUPPORTED_PROTOCOL);
goto err; goto err;
#else #else
/* we are talking sslv2 */ /* we are talking sslv2 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册