From: Dr. Stephen Henson Date: Sat, 12 Mar 2011 17:05:58 +0000 (+0000) Subject: Remove redundant check to stop compiler warning. X-Git-Tag: OpenSSL_1_0_1-beta1~363 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80b3d7a3c957cb27c2ebca64a5d0363b13b527ee;p=openssl Remove redundant check to stop compiler warning. --- diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index ba882fef43..47f9389817 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -619,12 +619,7 @@ static int ssl23_get_server_hello(SSL *s) #endif } else if (p[1] == SSL3_VERSION_MAJOR && -#if SSL3_VERSION_MINOR == 0 - /* p[2] is inevitably >= 0 */ p[2] <= TLS1_1_VERSION_MINOR && -#else - p[2] >= SSL3_VERSION_MINOR && p[2] <= TLS1_1_VERSION_MINOR && -#endif ((p[0] == SSL3_RT_HANDSHAKE && p[5] == SSL3_MT_SERVER_HELLO) || (p[0] == SSL3_RT_ALERT && p[3] == 0 && p[4] == 2))) {