From 03f00307a28efdd2cd40f9193180bf5b5d7aa623 Mon Sep 17 00:00:00 2001 From: Mateusz Starzyk Date: Thu, 27 May 2021 14:40:40 +0200 Subject: [PATCH] Add missing common.h include. Remove obsolete config.h include when common.h is included. Signed-off-by: Mateusz Starzyk --- library/psa_crypto_storage.c | 6 ------ library/psa_its_file.c | 6 +----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/library/psa_crypto_storage.c b/library/psa_crypto_storage.c index 0ef041d18..575e9925a 100644 --- a/library/psa_crypto_storage.c +++ b/library/psa_crypto_storage.c @@ -20,12 +20,6 @@ #include "common.h" -#if defined(MBEDTLS_CONFIG_FILE) -#include MBEDTLS_CONFIG_FILE -#else -#include "mbedtls/config.h" -#endif - #if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C) #include diff --git a/library/psa_its_file.c b/library/psa_its_file.c index 7798da615..492be1c71 100644 --- a/library/psa_its_file.c +++ b/library/psa_its_file.c @@ -18,11 +18,7 @@ * limitations under the License. */ -#if defined(MBEDTLS_CONFIG_FILE) -#include MBEDTLS_CONFIG_FILE -#else -#include "mbedtls/config.h" -#endif +#include "common.h" #if defined(MBEDTLS_PSA_ITS_FILE_C)