1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Check additional return values in some test cases

This commit is contained in:
Paul Bakker
2014-04-17 16:08:20 +02:00
parent 94b916c7b5
commit 8a0c0a9ed9
3 changed files with 13 additions and 3 deletions

View File

@ -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);