Avoid signed/unsigned compare warnings.
This commit is contained in:
parent
a51c8c64e0
commit
4b253d904d
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -190,7 +190,7 @@ static struct bi_ige_test const bi_ige_test_vectors[] = {
|
|||
|
||||
static int run_test_vectors(void)
|
||||
{
|
||||
int n;
|
||||
unsigned int n;
|
||||
int errs = 0;
|
||||
|
||||
for(n=0 ; n < sizeof(ige_test_vectors)/sizeof(ige_test_vectors[0]) ; ++n)
|
||||
|
@ -292,7 +292,7 @@ int main(int argc, char **argv)
|
|||
unsigned char iv[AES_BLOCK_SIZE*4];
|
||||
unsigned char saved_iv[AES_BLOCK_SIZE*4];
|
||||
int err = 0;
|
||||
int n;
|
||||
unsigned int n;
|
||||
unsigned matches;
|
||||
|
||||
assert(BIG_TEST_SIZE >= TEST_SIZE);
|
||||
|
|
Loading…
Reference in a new issue