mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 12:05:31 +00:00
Fix signed-to-unsigned integer conversion warning in X.509 module
Fixes #2212.
This commit is contained in:
parent
fb1972db23
commit
783f9c3514
|
@ -368,7 +368,7 @@ static void x509_crt_verify_chain_reset(
|
||||||
for( i = 0; i < MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE; i++ )
|
for( i = 0; i < MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE; i++ )
|
||||||
{
|
{
|
||||||
ver_chain->items[i].crt = NULL;
|
ver_chain->items[i].crt = NULL;
|
||||||
ver_chain->items[i].flags = -1;
|
ver_chain->items[i].flags = -1u;
|
||||||
}
|
}
|
||||||
|
|
||||||
ver_chain->len = 0;
|
ver_chain->len = 0;
|
||||||
|
|
Loading…
Reference in a new issue