From f505b0e30717172ec1abcebcf4c4eeadfa9e8878 Mon Sep 17 00:00:00 2001 From: Thomas Daubney Date: Thu, 20 May 2021 12:20:55 +0100 Subject: [PATCH] Removes unused variables in test_suite_rsa.function CI was failing on check_params due to MBEDTLS_RSA_PRIVATE being assigned to a now superfluous variable. The variable has been as well as another superfluous variable. This should correct the CI issue. Signed-off-by: Thomas Daubney --- tests/suites/test_suite_rsa.function | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/suites/test_suite_rsa.function b/tests/suites/test_suite_rsa.function index 442e857ed..efea5c169 100644 --- a/tests/suites/test_suite_rsa.function +++ b/tests/suites/test_suite_rsa.function @@ -23,8 +23,6 @@ void rsa_invalid_param( ) mbedtls_rsa_context ctx; const int valid_padding = MBEDTLS_RSA_PKCS_V21; const int invalid_padding = 42; - const int valid_mode = MBEDTLS_RSA_PRIVATE; - const int invalid_mode = 42; unsigned char buf[42] = { 0 }; size_t olen;