From 6364d32e47138a5448671709cd791a5d8e46f8a8 Mon Sep 17 00:00:00 2001 From: Spencer Burke Date: Sat, 12 Jun 2021 21:36:34 -0700 Subject: [PATCH] Remove the duplicate code in mbedtls/include/mbedtls/check_config.h Removing the extra preprocessor directives found within the specified source file. Signed-off-by: Spencer Burke --- include/mbedtls/check_config.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/mbedtls/check_config.h b/include/mbedtls/check_config.h index 85f7efde2..9b91f3200 100644 --- a/include/mbedtls/check_config.h +++ b/include/mbedtls/check_config.h @@ -461,10 +461,6 @@ #error "MBEDTLS_PLATFORM_STD_CALLOC defined, but not all prerequisites" #endif -#if defined(MBEDTLS_PLATFORM_STD_CALLOC) && !defined(MBEDTLS_PLATFORM_MEMORY) -#error "MBEDTLS_PLATFORM_STD_CALLOC defined, but not all prerequisites" -#endif - #if defined(MBEDTLS_PLATFORM_STD_FREE) && !defined(MBEDTLS_PLATFORM_MEMORY) #error "MBEDTLS_PLATFORM_STD_FREE defined, but not all prerequisites" #endif