From: Dr. Stephen Henson Date: Wed, 6 Jan 2010 17:35:27 +0000 (+0000) Subject: Missing commit from change ofr compress_meth to unsigned X-Git-Tag: OpenSSL-fips-2_0-rc1~1362 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dd792d62229df356e9538c5da15cde2a3832d428;p=oweals%2Fopenssl.git Missing commit from change ofr compress_meth to unsigned --- diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index af30d1af14..af8fe2ad95 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -902,7 +902,7 @@ int ssl3_get_server_hello(SSL *s) } #else j= *(p++); - if (s->hit && j != (int)s->session->compress_meth) + if (s->hit && j != s->session->compress_meth) { al=SSL_AD_ILLEGAL_PARAMETER; SSLerr(SSL_F_SSL3_GET_SERVER_HELLO,SSL_R_OLD_SESSION_COMPRESSION_ALGORITHM_NOT_RETURNED);