From 5bdae1675c8b450bed091b9605ae9d10d61adfc7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Sat, 11 Sep 1999 10:36:41 +0000 Subject: [PATCH] Fix yet another bug for client hello handling. --- ssl/s3_srvr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1