From 6177e44e9c0440a35c5d83fc649666297383c60e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Tue, 29 Jul 2025 10:28:26 +0200 Subject: [PATCH] Simplify version detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bence Szépkúti --- tests/include/test/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/include/test/macros.h b/tests/include/test/macros.h index 59201eaa5..544db916d 100644 --- a/tests/include/test/macros.h +++ b/tests/include/test/macros.h @@ -22,7 +22,7 @@ #include "mbedtls/memory_buffer_alloc.h" #endif -#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4 +#if defined(TF_PSA_CRYPTO_VERSION_NUMBER) #include "tf_psa_crypto_common.h" #else #include "common.h"