mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 22:36:52 +00:00
Add test for record compression in ssl-opt.sh
Deprecated but still needs to be tested.
This commit is contained in:
parent
51e24946d5
commit
455755177e
|
@ -747,6 +747,18 @@ run_test "Default, DTLS" \
|
||||||
-s "Protocol is DTLSv1.2" \
|
-s "Protocol is DTLSv1.2" \
|
||||||
-s "Ciphersuite is TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"
|
-s "Ciphersuite is TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384"
|
||||||
|
|
||||||
|
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 "Default, ServerHello contains gmt_unix_time" \
|
run_test "Default, ServerHello contains gmt_unix_time" \
|
||||||
|
|
Loading…
Reference in a new issue