mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 11:28:09 +00:00
Correct signedness of printf specifier in self tests
This commit is contained in:
parent
16b04ce641
commit
b6897f67a4
3 changed files with 3 additions and 3 deletions
|
@ -430,7 +430,7 @@ int mbedtls_aead_chacha20_poly1305_self_test( int verbose )
|
|||
{
|
||||
if ( verbose != 0 )
|
||||
{
|
||||
mbedtls_printf( " ChaCha20-Poly1305 test %zi ", i );
|
||||
mbedtls_printf( " ChaCha20-Poly1305 test %zu ", i );
|
||||
}
|
||||
|
||||
result = mbedtls_aead_chacha20_poly1305_crypt_and_mac( test_key[i],
|
||||
|
|
|
@ -561,7 +561,7 @@ int mbedtls_chacha20_self_test( int verbose )
|
|||
{
|
||||
if ( verbose != 0 )
|
||||
{
|
||||
mbedtls_printf( " ChaCha20 test %zi ", i );
|
||||
mbedtls_printf( " ChaCha20 test %zu ", i );
|
||||
}
|
||||
|
||||
result = mbedtls_chacha20_crypt( test_keys[i],
|
||||
|
|
|
@ -492,7 +492,7 @@ int mbedtls_poly1305_self_test( int verbose )
|
|||
{
|
||||
if ( verbose != 0 )
|
||||
{
|
||||
mbedtls_printf( " Poly1305 test %zi ", i );
|
||||
mbedtls_printf( " Poly1305 test %zu ", i );
|
||||
}
|
||||
|
||||
result = mbedtls_poly1305_mac( test_keys[i],
|
||||
|
|
Loading…
Reference in a new issue