Fix config-mini-tls1_1 PK_WRITE requirement when USA_PSA_CRYPTO is used

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2022-01-28 09:01:11 -05:00
parent d08ed95419
commit 699290de04

View File

@ -76,6 +76,10 @@
//#define MBEDTLS_USE_PSA_CRYPTO
//#define MBEDTLS_PSA_CRYPTO_C
/* With MBEDTLS_PSA_CRYPTO_C, importing an RSA key requires MBEDTLS_PK_WRITE_C */
#if defined(MBEDTLS_PSA_CRYPTO_C)
#define MBEDTLS_PK_WRITE_C
#endif
#include "mbedtls/check_config.h"
#endif /* MBEDTLS_CONFIG_H */