diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-12-29 00:17:36 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-12-29 00:17:36 +0000 |
commit | 4b253d904db2bf6a25cde85f7812ecff75660e72 (patch) | |
tree | 52d1055403920db62d4b82e024ad01a86517e43d /ssl/s3_clnt.c | |
parent | a51c8c64e03444ebd2a9aba877d4dd4aa21a19f3 (diff) |
Avoid signed/unsigned compare warnings.
Diffstat (limited to 'ssl/s3_clnt.c')
-rw-r--r-- | ssl/s3_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 1ef9a86be4..837507cce1 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -1777,7 +1777,7 @@ int ssl3_get_cert_status(SSL *s) goto f_err; } n2l3(p, resplen); - if (resplen + 4 != n) + if (resplen + 4 != (unsigned long)n) { al = SSL_AD_DECODE_ERROR; SSLerr(SSL_F_SSL3_GET_CERT_STATUS,SSL_R_LENGTH_MISMATCH); |