SSL async tests: tighten a few log checks in some test cases

This commit is contained in:
Gilles Peskine 2018-04-27 11:50:14 +02:00
parent 94e153af77
commit 20e2bdf4b0

View File

@ -4237,6 +4237,7 @@ run_test "SSL async private: error in start" \
1 \
-s "Async sign callback: injected error" \
-S "Async resume" \
-S "Async cancel" \
-s "! mbedtls_ssl_handshake returned"
requires_config_enabled MBEDTLS_SSL_ASYNC_PRIVATE
@ -4259,6 +4260,7 @@ run_test "SSL async private: error in resume" \
1 \
-s "Async sign callback: using key slot " \
-s "Async resume callback: sign done but injected error" \
-S "Async cancel" \
-s "! mbedtls_ssl_handshake returned"
requires_config_enabled MBEDTLS_SSL_ASYNC_PRIVATE
@ -4295,6 +4297,7 @@ run_test "SSL async private: cancel after start then fall back to transparent
[ \$? -eq 1 ] &&
$P_CLI force_ciphersuite=TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256" \
0 \
-s "Async sign callback: using key slot 0"
-S "Async resume" \
-s "Async cancel" \
-s "! mbedtls_ssl_handshake returned" \