summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-03-12 17:06:35 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-03-12 17:06:35 +0000
commit5e374d2ee85992523a3eafd7dfa8095e51b1a9a0 (patch)
tree078c01a0128ae5f360bf4e8a095e3c505c5f761f /ssl
parent0deea0e03cec1db2b6fe5a3328b5ce0f65b3e2bf (diff)
Remove redundant check to stop compiler warning.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/s23_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c
index e6f9bf952a..47f9389817 100644
--- a/ssl/s23_clnt.c
+++ b/ssl/s23_clnt.c
@@ -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)))
{