Fix tests build with MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS enabled

In that case mbedtls_psa_platform_get_builtin_key is already declared.

Signed-off-by: Michael Schuster <[email protected]>
This commit is contained in:
Michael Schuster
2024-08-06 12:09:13 +01:00
committed by Minos Galanakis
parent 4d0d0ec028
commit 6d6cae53ad
@@ -10,6 +10,8 @@
#include <test/helpers.h>
#if defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)
#include <psa/crypto.h>
#include <psa/crypto_extra.h>
@@ -76,3 +78,5 @@ psa_status_t mbedtls_psa_platform_get_builtin_key(
return PSA_ERROR_DOES_NOT_EXIST;
}
#endif /* MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS */