From 797c0843942844e0661467e63da2d7375c500b6e Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Thu, 19 Oct 2017 15:49:21 +0100 Subject: [PATCH] Add tests for disabled MFL-extension to all.sh This commit adds a build with default config except MBEDTLS_SSL_MAX_FRAGMENT_LENGTH to all.sh, as well as a run of the MFL-related tests in ssl-opt.sh. --- tests/scripts/all.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 6defcdc2a..f0594a25e 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -261,6 +261,16 @@ make msg "test: compat.sh (ASan build)" # ~ 6 min tests/compat.sh +msg "build: default config except MFL extension (ASan build)" # ~ 30s +cleanup +cp "$CONFIG_H" "$CONFIG_BAK" +scripts/config.pl unset MBEDTLS_SSL_MAX_FRAGMENT_LENGTH +CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan . +make + +msg "test: ssl-opt.sh, MFL-related tests" +tests/ssl-opt.sh -f "Max fragment length" + msg "build: Default + SSLv3 (ASan build)" # ~ 6 min cleanup cp "$CONFIG_H" "$CONFIG_BAK" @@ -485,4 +495,3 @@ rm -rf "$OUT_OF_SOURCE_DIR" msg "Done, cleaning up" cleanup -