Remove redundant check to stop compiler warning.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 12 Mar 2011 17:06:35 +0000 (17:06 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 12 Mar 2011 17:06:35 +0000 (17:06 +0000)
ssl/s23_clnt.c

index e6f9bf9..47f9389 100644 (file)
@@ -619,7 +619,7 @@ static int ssl23_get_server_hello(SSL *s)
 #endif
                }
        else if (p[1] == SSL3_VERSION_MAJOR &&
-                (p[2] >= SSL3_VERSION_MINOR && p[2] <= TLS1_1_VERSION_MINOR) &&
+                p[2] <= TLS1_1_VERSION_MINOR &&
                 ((p[0] == SSL3_RT_HANDSHAKE && p[5] == SSL3_MT_SERVER_HELLO) ||
                  (p[0] == SSL3_RT_ALERT && p[3] == 0 && p[4] == 2)))
                {