mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-10 10:57:24 +00:00
Improve dispatch tests
Test base on return value is not good enough. Signed-off-by: Jerry Yu <[email protected]>
This commit is contained in:
+4
-4
@@ -8660,11 +8660,11 @@ run_test "TLS1.3: Not supported version check: tls1_2 and tls1_3" \
|
||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
|
||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL
|
||||
run_test "TLS1.3: handshake dispatch test: tls1_3 only" \
|
||||
"$P_SRV min_version=tls1_3 max_version=tls1_3" \
|
||||
"$P_CLI min_version=tls1_3 max_version=tls1_3" \
|
||||
"$P_SRV debug_level=2 min_version=tls1_3 max_version=tls1_3" \
|
||||
"$P_CLI debug_level=2 min_version=tls1_3 max_version=tls1_3" \
|
||||
1 \
|
||||
-s "SSL - The requested feature is not available" \
|
||||
-c "SSL - The requested feature is not available"
|
||||
-s "tls13 server state: MBEDTLS_SSL_HELLO_REQUEST" \
|
||||
-c "tls13 client state: MBEDTLS_SSL_HELLO_REQUEST"
|
||||
|
||||
requires_openssl_tls1_3
|
||||
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL
|
||||
|
||||
Reference in New Issue
Block a user