mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 23:25:43 +01:00
selftest: fixed an erroneous return code
This commit is contained in:
parent
9d7dfb74d1
commit
6d51b63316
@ -224,7 +224,7 @@ int main( int argc, char *argv[] )
|
||||
if( pointer != NULL )
|
||||
{
|
||||
mbedtls_printf( "all-bits-zero is not a NULL pointer\n" );
|
||||
return( 1 );
|
||||
return( EXIT_FAILURE );
|
||||
}
|
||||
|
||||
/*
|
||||
@ -233,7 +233,7 @@ int main( int argc, char *argv[] )
|
||||
if( run_test_snprintf() != 0 )
|
||||
{
|
||||
mbedtls_printf( "the snprintf implementation is broken\n" );
|
||||
return( 0 );
|
||||
return( EXIT_FAILURE );
|
||||
}
|
||||
|
||||
if( argc == 2 && strcmp( argv[1], "-quiet" ) == 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user