tests: pk_helpers: fix outer guard in functions implementation

Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
Valerio Setti
2026-01-14 12:54:37 +01:00
parent 43e4dc061d
commit 2d7c5cb574
+2 -2
View File
@@ -17,7 +17,7 @@
/* Functions like mbedtls_pk_wrap_psa() are only available in tf-psa-crypto and
* not in 3.6 LTS branch, so we need a guard for this. */
#if !defined(MBEDTLS_VERSION_MAJOR) || MBEDTLS_VERSION_MAJOR >= 4
#if TF_PSA_CRYPTO_VERSION_MAJOR >= 1
#if defined(MBEDTLS_PK_C)
@@ -133,4 +133,4 @@ exit:
#endif /* MBEDTLS_PK_C */
#endif /* !MBEDTLS_VERSION_MAJOR || MBEDTLS_VERSION_MAJOR >= 4 */
#endif /* !TF_PSA_CRYPTO_VERSION_MAJOR */