mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-18 23:42:32 +00:00
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 <michael@schuster.ms>
This commit is contained in:
parent
4d0d0ec028
commit
6d6cae53ad
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
#include <test/helpers.h>
|
#include <test/helpers.h>
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS)
|
||||||
|
|
||||||
#include <psa/crypto.h>
|
#include <psa/crypto.h>
|
||||||
#include <psa/crypto_extra.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;
|
return PSA_ERROR_DOES_NOT_EXIST;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user