summaryrefslogtreecommitdiffstats
path: root/ssl/s3_clnt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-01-06 17:35:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-01-06 17:35:27 +0000
commitdd792d62229df356e9538c5da15cde2a3832d428 (patch)
treef70cf2a281854e3aa5d3d88230a7026456862bae /ssl/s3_clnt.c
parent82a107eaa8448203fcdbf0f8a55d173dc9c1f824 (diff)
Missing commit from change ofr compress_meth to unsigned
Diffstat (limited to 'ssl/s3_clnt.c')
-rw-r--r--ssl/s3_clnt.c2
1 files changed, 1 insertions, 1 deletions
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);