Grep for dbg msg witnessing parsing of CID extension in ClientHello

This commit is contained in:
Hanno Becker 2019-04-26 14:17:56 +01:00
parent 89dcc881d4
commit 7dee2c6369

View File

@ -1282,6 +1282,8 @@ run_test "(STUB) Connection ID: Client enabled, server disabled" \
"$P_CLI debug_level=3 dtls=1 cid=1 cid_val=deadbeef" \
0 \
-s "Disable use of CID extension." \
-s "found CID extension" \
-s "Client sent CID extension, but CID disabled" \
-c "Enable use of CID extension." \
-c "client hello, adding CID extension"
@ -1292,6 +1294,7 @@ run_test "(STUB) Connection ID: Client disabled, server enabled" \
0 \
-c "Disable use of CID extension." \
-C "client hello, adding CID extension" \
-S "found CID extension" \
-s "Enable use of CID extension."
requires_config_enabled MBEDTLS_SSL_CID
@ -1301,7 +1304,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID none
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty" \
@ -1310,7 +1315,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty" \
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty" \
@ -1319,7 +1326,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty" \
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empty" \
@ -1328,7 +1337,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empt
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID nonempty, AES-128-CCM-8" \
@ -1337,7 +1348,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID none
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-128-CCM-8" \
@ -1346,7 +1359,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-128-CCM-8" \
@ -1355,7 +1370,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empty, AES-128-CCM-8" \
@ -1364,7 +1381,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empt
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID nonempty, AES-128-CBC" \
@ -1373,7 +1392,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID none
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-128-CBC" \
@ -1382,7 +1403,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client CID empty, AES-
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-128-CBC" \
@ -1391,7 +1414,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Server CID empty, AES-
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empty, AES-128-CBC" \
@ -1400,7 +1425,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, Client+Server CID empt
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
requires_config_enabled MBEDTLS_SSL_CID
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
@ -1410,7 +1437,9 @@ run_test "(STUB) Connection ID: Client+Server enabled, renegotiate" \
0 \
-c "Enable use of CID extension." \
-s "Enable use of CID extension." \
-c "client hello, adding CID extension"
-c "client hello, adding CID extension" \
-s "found CID extension" \
-s "Use of CID extension negotiated"
# Tests for Encrypt-then-MAC extension