mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-01 20:41:01 +00:00
Correct signedness of printf specifier in self tests
This commit is contained in:
parent
b9a069d096
commit
47252c739d
|
@ -430,7 +430,7 @@ int mbedtls_aead_chacha20_poly1305_self_test( int verbose )
|
||||||
{
|
{
|
||||||
if ( verbose != 0 )
|
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],
|
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 )
|
if ( verbose != 0 )
|
||||||
{
|
{
|
||||||
mbedtls_printf( " ChaCha20 test %zi ", i );
|
mbedtls_printf( " ChaCha20 test %zu ", i );
|
||||||
}
|
}
|
||||||
|
|
||||||
result = mbedtls_chacha20_crypt( test_keys[i],
|
result = mbedtls_chacha20_crypt( test_keys[i],
|
||||||
|
|
|
@ -492,7 +492,7 @@ int mbedtls_poly1305_self_test( int verbose )
|
||||||
{
|
{
|
||||||
if ( verbose != 0 )
|
if ( verbose != 0 )
|
||||||
{
|
{
|
||||||
mbedtls_printf( " Poly1305 test %zi ", i );
|
mbedtls_printf( " Poly1305 test %zu ", i );
|
||||||
}
|
}
|
||||||
|
|
||||||
result = mbedtls_poly1305_mac( test_keys[i],
|
result = mbedtls_poly1305_mac( test_keys[i],
|
||||||
|
|
Loading…
Reference in a new issue