From 85aff9f07a9a406cae0edf6b1350c757c9d352e6 Mon Sep 17 00:00:00 2001 From: TRodziewicz Date: Fri, 23 Apr 2021 10:47:26 +0200 Subject: [PATCH] Correction fixing the test_depends_curves_psa falure Signed-off-by: TRodziewicz --- include/mbedtls/config.h | 6 +++--- tests/scripts/curves.pl | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h index 83f50dbdb..c34b6ba47 100644 --- a/include/mbedtls/config.h +++ b/include/mbedtls/config.h @@ -2521,7 +2521,7 @@ * MBEDTLS_TLS_ECDHE_PSK_WITH_ARIA_128_CBC_SHA256 * MBEDTLS_TLS_ECDHE_PSK_WITH_ARIA_256_CBC_SHA384 */ -// #define MBEDTLS_ARIA_C +#define MBEDTLS_ARIA_C /** * \def MBEDTLS_CCM_C @@ -2592,7 +2592,7 @@ * Requires: MBEDTLS_AES_C or MBEDTLS_DES_C * */ -// #define MBEDTLS_CMAC_C +#define MBEDTLS_CMAC_C /** * \def MBEDTLS_CTR_DRBG_C @@ -2824,7 +2824,7 @@ * * Requires: MBEDTLS_AES_C and MBEDTLS_CIPHER_C */ -// #define MBEDTLS_NIST_KW_C +#define MBEDTLS_NIST_KW_C /** * \def MBEDTLS_MD_C diff --git a/tests/scripts/curves.pl b/tests/scripts/curves.pl index 188bd29ac..2572e9330 100755 --- a/tests/scripts/curves.pl +++ b/tests/scripts/curves.pl @@ -84,6 +84,7 @@ for my $curve (@curves) { } # Depends on a specific curve. Also, ignore error if it wasn't enabled. system( "scripts/config.pl unset MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED" ); +system( "scripts/config.pl unset MBEDTLS_ECJPAKE_C" ); # Test with only $curve enabled, for each $curve. for my $curve (@curves) {