change more references to (f)printf to polarssl_(f)printf to allow overriding

This commit is contained in:
Rich Evans 2015-01-15 10:31:23 +00:00 committed by Paul Bakker
parent f4253c72f0
commit 920aa9c8ee
2 changed files with 2 additions and 2 deletions

View file

@ -172,7 +172,7 @@ $function_pre_code
$param_defs
if( cnt != $param_count )
{
fprintf( stderr, "\\nIncorrect argument count (%d != %d)\\n", cnt, $param_count );
polarssl_fprintf( stderr, "\\nIncorrect argument count (%d != %d)\\n", cnt, $param_count );
return( 2 );
}

View file

@ -445,7 +445,7 @@ void x509_parse_rsassa_pss_params( char *hex_params, int params_tag,
my_ret = x509_get_rsassa_pss_params( &params, &my_msg_md, &my_mgf_md,
&my_salt_len );
if( my_ret != ref_ret ) printf( "\n%04X\n", - my_ret );
if( my_ret != ref_ret ) polarssl_printf( "\n%04X\n", - my_ret );
TEST_ASSERT( my_ret == ref_ret );