mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-14 09:36:39 -04:00
add client hello msg test
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
56fc07f7ae
commit
ed2ef2d9e0
@ -1322,6 +1322,11 @@ if [ -n "${OPENSSL_LEGACY:-}" ]; then
|
|||||||
O_LEGACY_CLI="$O_LEGACY_CLI -connect localhost:+SRV_PORT"
|
O_LEGACY_CLI="$O_LEGACY_CLI -connect localhost:+SRV_PORT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "${OPENSSL_NEXT:-}" ]; then
|
||||||
|
O_NEXT_SRV="$O_NEXT_SRV -accept $SRV_PORT"
|
||||||
|
O_NEXT_CLI="$O_NEXT_CLI -connect localhost:+SRV_PORT"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -n "${GNUTLS_NEXT_SERV:-}" ]; then
|
if [ -n "${GNUTLS_NEXT_SERV:-}" ]; then
|
||||||
G_NEXT_SRV="$G_NEXT_SRV -p $SRV_PORT"
|
G_NEXT_SRV="$G_NEXT_SRV -p $SRV_PORT"
|
||||||
fi
|
fi
|
||||||
@ -8661,6 +8666,15 @@ run_test "TLS1.3: handshake dispatch test: tls1_3 only" \
|
|||||||
-s "SSL - The requested feature is not available" \
|
-s "SSL - The requested feature is not available" \
|
||||||
-c "SSL - The requested feature is not available"
|
-c "SSL - The requested feature is not available"
|
||||||
|
|
||||||
|
requires_openssl_tls1_3
|
||||||
|
requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL
|
||||||
|
run_test "TLS1.3: Test client hello msg work" \
|
||||||
|
"$O_NEXT_SRV -tls1_3 -msg" \
|
||||||
|
"$P_CLI min_version=tls1_3 max_version=tls1_3" \
|
||||||
|
1 \
|
||||||
|
-c "SSL - The requested feature is not available" \
|
||||||
|
-s "ServerHello"
|
||||||
|
|
||||||
# Test heap memory usage after handshake
|
# Test heap memory usage after handshake
|
||||||
requires_config_enabled MBEDTLS_MEMORY_DEBUG
|
requires_config_enabled MBEDTLS_MEMORY_DEBUG
|
||||||
requires_config_enabled MBEDTLS_MEMORY_BUFFER_ALLOC_C
|
requires_config_enabled MBEDTLS_MEMORY_BUFFER_ALLOC_C
|
||||||
|
Loading…
x
Reference in New Issue
Block a user