Missing commit from change ofr compress_meth to unsigned
authorDr. Stephen Henson <steve@openssl.org>
Wed, 6 Jan 2010 17:35:27 +0000 (17:35 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 6 Jan 2010 17:35:27 +0000 (17:35 +0000)
ssl/s3_clnt.c

index af30d1af14630161ef44023b973e1883a990cbbb..af8fe2ad950000cd0d4db2339f90b9516f171610 100644 (file)
@@ -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);