From 6f430b2923c24954eb4c26e637bce72c5643dc43 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Wed, 21 Feb 2024 14:09:02 +0100 Subject: [PATCH] tests: fix some guards psa_crypto_helpers: to include "psa_helpers.h" as soon as CRYPTO_CLIENT is enabled. test_suite_psa_crypto_low_hash: add MBEDTLS_PSA_CRYPTO_C as dependency for test functions. Signed-off-by: Valerio Setti --- tests/include/test/psa_crypto_helpers.h | 2 +- tests/suites/test_suite_psa_crypto_low_hash.function | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/include/test/psa_crypto_helpers.h b/tests/include/test/psa_crypto_helpers.h index 9a84335fd1..c504bb2662 100644 --- a/tests/include/test/psa_crypto_helpers.h +++ b/tests/include/test/psa_crypto_helpers.h @@ -11,7 +11,7 @@ #include "test/helpers.h" -#if defined(MBEDTLS_PSA_CRYPTO_C) +#if defined(MBEDTLS_PSA_CRYPTO_CLIENT) #include "test/psa_helpers.h" #include #endif diff --git a/tests/suites/test_suite_psa_crypto_low_hash.function b/tests/suites/test_suite_psa_crypto_low_hash.function index 6dabceff9e..eaeef798a6 100644 --- a/tests/suites/test_suite_psa_crypto_low_hash.function +++ b/tests/suites/test_suite_psa_crypto_low_hash.function @@ -18,7 +18,7 @@ /* END_HEADER */ /* BEGIN_DEPENDENCIES - * depends_on:MBEDTLS_PSA_BUILTIN_HASH + * depends_on:MBEDTLS_PSA_CRYPTO_C:MBEDTLS_PSA_BUILTIN_HASH * END_DEPENDENCIES */