mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-20 13:27:55 +00:00
Add test for record compression in ssl-opt.sh
Deprecated but still needs to be tested. Signed-off-by: Simon Butcher <simon.butcher@arm.com>
This commit is contained in:
parent
df59bfc9d6
commit
079864ef54
|
@ -1150,6 +1150,18 @@ run_test "Default, choose highest security suite and hash, DTLS" \
|
||||||
-s "client hello v3, signature_algorithm ext: 6" \
|
-s "client hello v3, signature_algorithm ext: 6" \
|
||||||
-s "ECDHE curve: secp521r1"
|
-s "ECDHE curve: secp521r1"
|
||||||
|
|
||||||
|
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
|
# Test current time in ServerHello
|
||||||
requires_config_enabled MBEDTLS_HAVE_TIME
|
requires_config_enabled MBEDTLS_HAVE_TIME
|
||||||
run_test "ServerHello contains gmt_unix_time" \
|
run_test "ServerHello contains gmt_unix_time" \
|
||||||
|
|
Loading…
Reference in a new issue