From 43dedd8afe8b80a103917cd0819694431204fa20 Mon Sep 17 00:00:00 2001 From: Martin Man Date: Tue, 2 Aug 2022 12:44:35 +0200 Subject: [PATCH] Use double quotes to include private header file psa_crypto_cipher.h Signed-off-by: Martin Man Co-authored-by: Tom Cosgrove <81633263+tom-cosgrove-arm@users.noreply.github.com> --- ChangeLog.d/fix_psa_crypto_cipher_h_include.txt | 4 ++++ library/psa_crypto_cipher.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ChangeLog.d/fix_psa_crypto_cipher_h_include.txt diff --git a/ChangeLog.d/fix_psa_crypto_cipher_h_include.txt b/ChangeLog.d/fix_psa_crypto_cipher_h_include.txt new file mode 100644 index 000000000000..bf2e65dd470f --- /dev/null +++ b/ChangeLog.d/fix_psa_crypto_cipher_h_include.txt @@ -0,0 +1,4 @@ +Bugfix + * Use double quotes to include private header file psa_crypto_cipher.h. + Fixes 'file not found with include' error + when building with Xcode. diff --git a/library/psa_crypto_cipher.c b/library/psa_crypto_cipher.c index 574c1843051a..38962cd848ad 100644 --- a/library/psa_crypto_cipher.c +++ b/library/psa_crypto_cipher.c @@ -22,7 +22,7 @@ #if defined(MBEDTLS_PSA_CRYPTO_C) -#include +#include "psa_crypto_cipher.h" #include "psa_crypto_core.h" #include "psa_crypto_random_impl.h"