From 352928530815dd17903a61ec9210a60a99b936d7 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 27 Sep 2023 15:41:56 +0200 Subject: [PATCH] Fix include path to psa/crypto_spe.h We can't have a public header or library file reference our test environment (except possibly under test-only options, and even so, it would be with great reluctance). This breaks the build for other people. Fix #8259. Signed-off-by: Gilles Peskine --- include/psa/crypto_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/psa/crypto_platform.h b/include/psa/crypto_platform.h index 35a42f825a..ee41c897f6 100644 --- a/include/psa/crypto_platform.h +++ b/include/psa/crypto_platform.h @@ -83,7 +83,7 @@ static inline int mbedtls_key_owner_id_equal(mbedtls_key_owner_id_t id1, */ #if defined(MBEDTLS_PSA_CRYPTO_SPM) #define PSA_CRYPTO_SECURE 1 -#include "../tests/include/spe/crypto_spe.h" +#include "crypto_spe.h" #endif // MBEDTLS_PSA_CRYPTO_SPM #if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG)