From 6444157e373a931e87454ee38236ed48dc297b41 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Fri, 17 May 2024 21:02:46 -0700 Subject: [PATCH] [mbedtls] remove config workaround (#10263) --- third_party/mbedtls/mbedtls-config.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/third_party/mbedtls/mbedtls-config.h b/third_party/mbedtls/mbedtls-config.h index 29aa49e7a..28194abd2 100644 --- a/third_party/mbedtls/mbedtls-config.h +++ b/third_party/mbedtls/mbedtls-config.h @@ -152,11 +152,9 @@ #endif #include "mbedtls/version.h" -// Include in the legacy config name adjustment file for mbedtls >= 3.5.0 -#if (MBEDTLS_VERSION_NUMBER >= 0x03050000) - #include "mbedtls/config_adjust_legacy_crypto.h" +#if (MBEDTLS_VERSION_NUMBER < 0x03000000) + // Configuration sanity check. Done automatically in Mbed TLS >= 3.0. + #include "mbedtls/check_config.h" #endif -#include "mbedtls/check_config.h" - #endif /* MBEDTLS_CONFIG_H */