SSL_R_UNSUPPORTED_PROTOCOL (as in s23_clnt.c) for SSL 2 when
authorBodo Möller <bodo@openssl.org>
Sun, 16 Jan 2000 21:29:57 +0000 (21:29 +0000)
committerBodo Möller <bodo@openssl.org>
Sun, 16 Jan 2000 21:29:57 +0000 (21:29 +0000)
NO_SSL2 is defined, not SSL_R_UNKNOWN_PROTOCOL.

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 */