mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 08:54:23 +01:00
Add test for record compression in ssl-opt.sh
Deprecated but still needs to be tested.
This commit is contained in:
parent
95e04490fa
commit
342d2ca9ab
@ -996,6 +996,18 @@ run_test "Default, DTLS" \
|
|||||||
-s "Protocol is DTLSv1.2" \
|
-s "Protocol is DTLSv1.2" \
|
||||||
-s "Ciphersuite is TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256"
|
-s "Ciphersuite is TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256"
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK
|
requires_config_enabled MBEDTLS_X509_TRUSTED_CERTIFICATE_CALLBACK
|
||||||
run_test "CA callback on client" \
|
run_test "CA callback on client" \
|
||||||
"$P_SRV debug_level=3" \
|
"$P_SRV debug_level=3" \
|
||||||
|
Loading…
Reference in New Issue
Block a user