From: Bodo Möller Date: Sat, 11 Sep 1999 10:36:41 +0000 (+0000) Subject: Fix yet another bug for client hello handling. X-Git-Tag: OpenSSL_0_9_5beta1~522 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5bdae1675c8b450bed091b9605ae9d10d61adfc7;p=oweals%2Fopenssl.git Fix yet another bug for client hello handling. --- 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);