mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Remove redundant check to stop compiler warning.
This commit is contained in:
parent
0deea0e03c
commit
5e374d2ee8
@ -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)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user