From 299b1d6c93e05cfd1223395b47c6c44219468db2 Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Mon, 22 Aug 2022 17:26:13 -0400 Subject: [PATCH] Remove unnecessary `psa/crypto.h` include This is now included in `legacy_or_psa.h`. Signed-off-by: Andrzej Kurek --- library/ssl_ciphersuites.c | 3 --- library/ssl_cookie.c | 3 --- tests/src/certs.c | 4 ---- tests/suites/test_suite_ssl.function | 3 --- 4 files changed, 13 deletions(-) diff --git a/library/ssl_ciphersuites.c b/library/ssl_ciphersuites.c index ebfcb8872..dc5044963 100644 --- a/library/ssl_ciphersuites.c +++ b/library/ssl_ciphersuites.c @@ -33,9 +33,6 @@ #include "mbedtls/ssl.h" #include "ssl_misc.h" -#if defined(MBEDTLS_USE_PSA_CRYPTO) -#include "psa/crypto.h" -#endif #include "legacy_or_psa.h" #include diff --git a/library/ssl_cookie.c b/library/ssl_cookie.c index e00ee4365..8777833b9 100644 --- a/library/ssl_cookie.c +++ b/library/ssl_cookie.c @@ -38,9 +38,6 @@ #include "mbedtls/platform_util.h" #include "mbedtls/constant_time.h" -#if defined(MBEDTLS_USE_PSA_CRYPTO) -#include "psa/crypto.h" -#endif #include "legacy_or_psa.h" #include diff --git a/tests/src/certs.c b/tests/src/certs.c index b501e1fd6..551602626 100644 --- a/tests/src/certs.c +++ b/tests/src/certs.c @@ -23,10 +23,6 @@ #include "mbedtls/build_info.h" -#if defined(MBEDTLS_USE_PSA_CRYPTO) -#include "psa/crypto.h" -#endif - #include "legacy_or_psa.h" /* diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function index b17dc1e80..459e94bb7 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -11,9 +11,6 @@ #include "mbedtls/ssl_cache.h" #endif -#if defined(MBEDTLS_USE_PSA_CRYPTO) -#include "psa/crypto.h" -#endif #include #include "hash_info.h"