From 3e6455d50ec0ee2fe9970e6a135c530fec3c9d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 2 Dec 2025 12:00:34 +0100 Subject: [PATCH] Remove useless includes of psa_util_internal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Those in SSL modules were redundant because it's already included from ssl_misc.h. Signed-off-by: Manuel Pégourié-Gonnard --- library/ssl_msg.c | 1 - library/ssl_tls.c | 1 - library/ssl_tls12_client.c | 1 - library/ssl_tls13_generic.c | 1 - library/x509write_crt.c | 1 - library/x509write_csr.c | 1 - 6 files changed, 6 deletions(-) diff --git a/library/ssl_msg.c b/library/ssl_msg.c index e1198fa627..4430db993e 100644 --- a/library/ssl_msg.c +++ b/library/ssl_msg.c @@ -26,7 +26,6 @@ #include -#include "psa_util_internal.h" #include "psa/crypto.h" #if defined(MBEDTLS_X509_CRT_PARSE_C) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 550f79de29..ea5924c3c1 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -30,7 +30,6 @@ #include "mbedtls/psa_util.h" #include "md_psa.h" -#include "psa_util_internal.h" #include "psa/crypto.h" #if defined(MBEDTLS_X509_CRT_PARSE_C) diff --git a/library/ssl_tls12_client.c b/library/ssl_tls12_client.c index 4024c0014b..c4f75b63de 100644 --- a/library/ssl_tls12_client.c +++ b/library/ssl_tls12_client.c @@ -17,7 +17,6 @@ #include "mbedtls/error.h" #include "mbedtls/constant_time.h" -#include "psa_util_internal.h" #include "psa/crypto.h" #if defined(MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED) /* Define a local translating function to save code size by not using too many diff --git a/library/ssl_tls13_generic.c b/library/ssl_tls13_generic.c index f8aca908c4..c7d3d48561 100644 --- a/library/ssl_tls13_generic.c +++ b/library/ssl_tls13_generic.c @@ -24,7 +24,6 @@ #include "ssl_debug_helpers.h" #include "psa/crypto.h" -#include "psa_util_internal.h" #if defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_SOME_EPHEMERAL_ENABLED) /* Define a local translating function to save code size by not using too many diff --git a/library/x509write_crt.c b/library/x509write_crt.c index e4cdd5064b..399c923097 100644 --- a/library/x509write_crt.c +++ b/library/x509write_crt.c @@ -32,7 +32,6 @@ #endif /* MBEDTLS_PEM_WRITE_C */ #include "psa/crypto.h" -#include "psa_util_internal.h" #include "mbedtls/psa_util.h" void mbedtls_x509write_crt_init(mbedtls_x509write_cert *ctx) diff --git a/library/x509write_csr.c b/library/x509write_csr.c index 0fac775106..8a81f7ee56 100644 --- a/library/x509write_csr.c +++ b/library/x509write_csr.c @@ -22,7 +22,6 @@ #include "mbedtls/platform_util.h" #include "psa/crypto.h" -#include "psa_util_internal.h" #include "mbedtls/psa_util.h" #include