From 4ae2d62ccee7083bf7a18d5c7db68f1dbf174ada Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Wed, 15 Sep 2021 15:34:56 +0800 Subject: [PATCH] Improve tls13 handshake test Signed-off-by: Jerry Yu --- tests/ssl-opt.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index e90a35226b..ec37221279 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -8692,7 +8692,9 @@ run_test "TLS1.3: Test client hello msg work - openssl" \ -c "tls1_3 client state: 20" \ -c "tls1_3 client state: 11" \ -c "tls1_3 client state: 14" \ - -c "tls1_3 client state: 15" + -c "tls1_3 client state: 15" \ + -c "<= ssl_tls1_3_process_server_hello" \ + -c "=> ssl_tls1_3_process_server_hello" requires_gnutls_tls1_3 requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL @@ -8713,7 +8715,9 @@ run_test "TLS1.3: Test client hello msg work - gnutls" \ -c "tls1_3 client state: 20" \ -c "tls1_3 client state: 11" \ -c "tls1_3 client state: 14" \ - -c "tls1_3 client state: 15" + -c "tls1_3 client state: 15" \ + -c "<= ssl_tls1_3_process_server_hello" \ + -c "=> ssl_tls1_3_process_server_hello" # Test heap memory usage after handshake requires_config_enabled MBEDTLS_MEMORY_DEBUG