SSL_R_UNSUPPORTED_PROTOCOL (as in s23_clnt.c) for SSL 2 when
[openssl.git] / ssl / s23_srvr.c
index 968bf7c..7fe8027 100644 (file)
@@ -453,7 +453,7 @@ next_bit:
        if (type == 1)
                {
 #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;
 #else
                /* we are talking sslv2 */