Skip to content

Commit

Permalink
Fix signed-to-unsigned integer conversion warning in X.509 module
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanno Becker committed Jan 10, 2019
1 parent fb1972d commit 783f9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/x509_crt.c
Expand Up @@ -368,7 +368,7 @@ static void x509_crt_verify_chain_reset(
for( i = 0; i < MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE; i++ )
{
ver_chain->items[i].crt = NULL;
ver_chain->items[i].flags = -1;
ver_chain->items[i].flags = -1u;
}

ver_chain->len = 0;
Expand Down

0 comments on commit 783f9c3

Please sign in to comment.