change more references to (f)printf to polarssl_(f)printf to allow overriding
This commit is contained in:
parent
f4253c72f0
commit
920aa9c8ee
@ -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 );
|
||||
}
|
||||
|
||||
|
@ -445,7 +445,7 @@ void x509_parse_rsassa_pss_params( char *hex_params, int params_tag,
|
||||
my_ret = x509_get_rsassa_pss_params( ¶ms, &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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user