mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-07 15:09:28 +01:00
tests: Reformating due to hexcmp() renaming
Command to find the files in which lines have gone
larger than 79 characters due to the renaming:
grep '.\{80\}' \
`git diff-tree --no-commit-id --name-only -r HEAD` \
| grep hexcmp
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
d239794deb
commit
9fde353f68
15 changed files with 185 additions and 76 deletions
|
|
@ -354,7 +354,8 @@ void mbedtls_mpi_write_binary( int radix_X, char * input_X,
|
|||
if( result == 0)
|
||||
{
|
||||
|
||||
TEST_ASSERT( mbedtls_test_hexcmp( buf, input_A->x, buflen, input_A->len ) == 0 );
|
||||
TEST_ASSERT( mbedtls_test_hexcmp( buf, input_A->x,
|
||||
buflen, input_A->len ) == 0 );
|
||||
}
|
||||
|
||||
exit:
|
||||
|
|
@ -388,7 +389,8 @@ void mbedtls_mpi_read_file( int radix_X, char * input_file,
|
|||
TEST_ASSERT( mbedtls_mpi_write_binary( &X, buf, buflen ) == 0 );
|
||||
|
||||
|
||||
TEST_ASSERT( mbedtls_test_hexcmp( buf, input_A->x, buflen, input_A->len ) == 0 );
|
||||
TEST_ASSERT( mbedtls_test_hexcmp( buf, input_A->x,
|
||||
buflen, input_A->len ) == 0 );
|
||||
}
|
||||
|
||||
exit:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue