mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Split assignment and assert check into seperate lines in tests
This commit is contained in:
parent
dd0aae92e0
commit
94b916c7b5
6 changed files with 33 additions and 16 deletions
|
|
@ -113,7 +113,8 @@ void ecdsa_det_test_vectors( int id, char *d_str, int md_alg,
|
|||
TEST_ASSERT( mpi_read_string( &r_check, 16, r_str ) == 0 );
|
||||
TEST_ASSERT( mpi_read_string( &s_check, 16, s_str ) == 0 );
|
||||
|
||||
TEST_ASSERT( ( md_info = md_info_from_type( md_alg ) ) != NULL );
|
||||
md_info = md_info_from_type( md_alg );
|
||||
TEST_ASSERT( md_info != NULL );
|
||||
hlen = md_info->size;
|
||||
md( md_info, (const unsigned char *) msg, strlen( msg ), hash );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue