mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-01 09:10:03 +00:00
edc8f35ed3
MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE is no longer required, except in test cases that are specifically about it. This commit removes the requirement on all test cases except those whose description contains "middlebox". Exclude tls13-compat.sh which is automatically generated and will be handled in a separate commit. ``` perl -0777 -i -pe ' # With -0777, we act on the whole file. # s[REGEXP][EXPR]gm replaces every occurrence of REGEXP by EXPR. # The regexp matches "requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE", # followed by zero or more non-empty lines, followed by a line starting # with "run_test" and not containing "middlebox". # The replacement is everything matched except the first line. s[^requires_config_enabled MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE\n((?:.+\n)*run_test (?!.*middlebox))] [$1]gm' tests/ssl-opt.sh tests/opt-testcases/tls13-kex-modes.sh tests/opt-testcases/tls13-misc.sh ``` Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com> |
||
---|---|---|
.. | ||
tls13-compat.sh | ||
tls13-kex-modes.sh | ||
tls13-misc.sh |