summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-09-11 10:36:41 +0000
committerBodo Möller <bodo@openssl.org>1999-09-11 10:36:41 +0000
commit5bdae1675c8b450bed091b9605ae9d10d61adfc7 (patch)
tree04cbc106e6d93ad10a89489e765a0572e4d40041
parentcb0369d885c9df71f7fbd791ded0f706212f1f4c (diff)
downloadopenssl-new-5bdae1675c8b450bed091b9605ae9d10d61adfc7.tar.gz
Fix yet another bug for client hello handling.
-rw-r--r--ssl/s3_srvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c
index 5cb20a28a6..0cefa09d2f 100644
--- a/ssl/s3_srvr.c
+++ b/ssl/s3_srvr.c
@@ -1270,7 +1270,7 @@ static int ssl3_get_client_key_exchange(SSL *s)
goto f_err;
}
- if ((p[0] != (s->version>>8)) || (p[1] != (s->version & 0xff)))
+ if ((p[0] != (s->client_version>>8)) || (p[1] != (s->client_version & 0xff)))
{
al=SSL_AD_DECODE_ERROR;
SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,SSL_R_BAD_PROTOCOL_VERSION_NUMBER);