Add test for record compression in ssl-opt.sh

Deprecated but still needs to be tested.
This commit is contained in:
Manuel Pégourié-Gonnard 2020-01-02 11:58:00 +01:00 committed by Simon Butcher
parent 8b7f03f172
commit 10a7f626d9

View file

@ -1162,6 +1162,18 @@ run_test "Default (compression enabled)" \
-S "error" \
-C "error"
requires_config_enabled MBEDTLS_ZLIB_SUPPORT
run_test "Default (compression enabled)" \
"$P_SRV debug_level=3" \
"$P_CLI debug_level=3" \
0 \
-s "Allocating compression buffer" \
-c "Allocating compression buffer" \
-s "Record expansion is unknown (compression)" \
-c "Record expansion is unknown (compression)" \
-S "error" \
-C "error"
# Test current time in ServerHello
requires_config_enabled MBEDTLS_HAVE_TIME
run_test "ServerHello contains gmt_unix_time" \