From 8a89fcd13f638e81c22db3c9df6e66475b4367d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 3 Apr 2015 17:13:56 +0200 Subject: [PATCH] Rm references to removed config options POLARSSL_MEMORY_C POLARSSL_PBKDF2_C DISABLE_RENEGO --- include/mbedtls/check_config.h | 8 -------- include/mbedtls/platform.h | 5 ----- scripts/config.pl | 1 - tests/scripts/all.sh | 1 - 4 files changed, 15 deletions(-) diff --git a/include/mbedtls/check_config.h b/include/mbedtls/check_config.h index 22d7251cd..2194d475d 100644 --- a/include/mbedtls/check_config.h +++ b/include/mbedtls/check_config.h @@ -157,10 +157,6 @@ #error "POLARSSL_KEY_EXCHANGE_RSA_ENABLED defined, but not all prerequisites" #endif -#if defined(POLARSSL_MEMORY_C) && !defined(POLARSSL_PLATFORM_C) -#error "POLARSSL_MEMORY_C defined, but not all prerequisites" -#endif - #if defined(POLARSSL_MEMORY_BUFFER_ALLOC_C) && \ ( !defined(POLARSSL_PLATFORM_C) || !defined(POLARSSL_PLATFORM_MEMORY) ) #error "POLARSSL_MEMORY_BUFFER_ALLOC_C defined, but not all prerequisites" @@ -170,10 +166,6 @@ #error "POLARSSL_PADLOCK_C defined, but not all prerequisites" #endif -#if defined(POLARSSL_PBKDF2_C) && !defined(POLARSSL_MD_C) -#error "POLARSSL_PBKDF2_C defined, but not all prerequisites" -#endif - #if defined(POLARSSL_PEM_PARSE_C) && !defined(POLARSSL_BASE64_C) #error "POLARSSL_PEM_PARSE_C defined, but not all prerequisites" #endif diff --git a/include/mbedtls/platform.h b/include/mbedtls/platform.h index 32d1c9f25..34af46e00 100644 --- a/include/mbedtls/platform.h +++ b/include/mbedtls/platform.h @@ -30,11 +30,6 @@ #include POLARSSL_CONFIG_FILE #endif -/* Temporary compability hack for to keep MEMORY_C working */ -#if defined(POLARSSL_MEMORY_C) && !defined(POLARSSL_PLATFORM_MEMORY) -#define POLARSSL_PLATFORM_MEMORY -#endif - #ifdef __cplusplus extern "C" { #endif diff --git a/scripts/config.pl b/scripts/config.pl index 9cc50342e..b21aa0c39 100755 --- a/scripts/config.pl +++ b/scripts/config.pl @@ -30,7 +30,6 @@ POLARSSL_NO_DEFAULT_ENTROPY_SOURCES POLARSSL_NO_PLATFORM_ENTROPY POLARSSL_REMOVE_ARC4_CIPHERSUITES POLARSSL_SSL_HW_RECORD_ACCEL -POLARSSL_SSL_DISABLE_RENEGOTIATION POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3 POLARSSL_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION POLARSSL_ZLIB_SUPPORT diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 82ed4bc39..df5e86c70 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -141,7 +141,6 @@ cp "$CONFIG_H" "$CONFIG_BAK" scripts/config.pl full scripts/config.pl unset POLARSSL_PLATFORM_C scripts/config.pl unset POLARSSL_PLATFORM_MEMORY -scripts/config.pl unset POLARSSL_MEMORY_C scripts/config.pl unset POLARSSL_MEMORY_BUFFER_ALLOC_C scripts/config.pl unset POLARSSL_FS_IO CC=gcc CFLAGS='-Werror -O0' make