Avoid signed/unsigned compare warnings.

This commit is contained in:
Dr. Stephen Henson
2008-12-29 00:17:36 +00:00
parent a51c8c64e0
commit 4b253d904d
2 changed files with 3 additions and 3 deletions

View File

@@ -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);