From ff3db6a5cfdb0ed9b1439dc25f7d907abea77586 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Meuter?= Date: Sun, 10 Jan 2021 15:40:33 +0100 Subject: [PATCH] Removed trailing whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cédric Meuter --- ChangeLog.d/pkcs1_v21_sign_ext.txt | 1 - tests/suites/test_suite_pkcs1_v21.function | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ChangeLog.d/pkcs1_v21_sign_ext.txt b/ChangeLog.d/pkcs1_v21_sign_ext.txt index bfbcd0920..76dfaf960 100644 --- a/ChangeLog.d/pkcs1_v21_sign_ext.txt +++ b/ChangeLog.d/pkcs1_v21_sign_ext.txt @@ -3,4 +3,3 @@ Features signature with a specific salt length. This function allows to validate test cases provided in the NIST's CAVP test suite. Contributed by Cédric Meuter in PR #3183. - diff --git a/tests/suites/test_suite_pkcs1_v21.function b/tests/suites/test_suite_pkcs1_v21.function index e32f9c575..97f440d28 100644 --- a/tests/suites/test_suite_pkcs1_v21.function +++ b/tests/suites/test_suite_pkcs1_v21.function @@ -161,14 +161,13 @@ void pkcs1_rsassa_pss_sign( int mod, data_t * input_P, data_t * input_Q, info.length = rnd_buf->len; } - TEST_ASSERT( mbedtls_rsa_rsassa_pss_sign_ext( &ctx, &mbedtls_test_rnd_buffer_rand, + TEST_ASSERT( mbedtls_rsa_rsassa_pss_sign_ext( &ctx, &mbedtls_test_rnd_buffer_rand, &info, digest, 0, hash_result, fixed_salt_length, output ) == result ); if( result == 0 ) { ASSERT_COMPARE( output, ctx.len, result_str->x, result_str->len ); } - exit: mbedtls_mpi_free( &N ); mbedtls_mpi_free( &P );