mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-08 08:55:29 +00:00
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.
This commit is contained in:
parent
6ed76f74d2
commit
797c084394
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue