projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bd48de
)
Remove redundant check to stop compiler warning.
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 12 Mar 2011 17:05:58 +0000
(17:05 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 12 Mar 2011 17:05:58 +0000
(17:05 +0000)
ssl/s23_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/s23_clnt.c
b/ssl/s23_clnt.c
index ba882fef43880d6962f25a2aee75f07a2f51982c..47f938981790d6959f7cc13ca01e765dd641e938 100644
(file)
--- 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)))
{