mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 11:55:42 +01:00
Correct signedness of printf specifier in self tests
This commit is contained in:
parent
16b04ce641
commit
b6897f67a4
@ -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 New Issue
Block a user