mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Check additional return values in some test cases
This commit is contained in:
parent
94b916c7b5
commit
8a0c0a9ed9
3 changed files with 13 additions and 3 deletions
|
|
@ -101,6 +101,7 @@ void mpi_read_file( int radix_X, char *input_file, char *input_A,
|
|||
mpi_init( &X );
|
||||
|
||||
file = fopen( input_file, "r" );
|
||||
TEST_ASSERT( file != NULL );
|
||||
TEST_ASSERT( mpi_read_file( &X, radix_X, file ) == result );
|
||||
fclose(file);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue