From 4b3a45e190cc36ec69d0d805f3c4c7799fac05f7 Mon Sep 17 00:00:00 2001 From: Andrzej Kurek Date: Fri, 6 Sep 2019 07:47:30 -0400 Subject: [PATCH] Remove unnecessary memory buffer alloc unsets This define is turned off by default --- tests/scripts/all.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 397a758af..c458bb35f 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -889,7 +889,6 @@ component_test_check_params_functionality () { scripts/config.pl full # includes CHECK_PARAMS # Make MBEDTLS_PARAM_FAILED call mbedtls_param_failed(). scripts/config.pl unset MBEDTLS_CHECK_PARAMS_ASSERT - scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C # Only build and run tests. Do not build sample programs, because # they don't have a mbedtls_param_failed() function. make CC=gcc CFLAGS='-Werror -O1' lib test @@ -1111,7 +1110,6 @@ component_test_m32_o0 () { # Build once with -O0, to compile out the i386 specific inline assembly msg "build: i386, make, gcc -O0 (ASan build)" # ~ 30s scripts/config.pl full - scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C # slow and makes ASan mostly ineffective make CC=gcc CFLAGS='-O0 -Werror -Wall -Wextra -m32 -fsanitize=address' LDFLAGS='-m32 -fsanitize=address' msg "test: i386, make, gcc -O0 (ASan build)"