mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 22:25:11 +00:00
Add CID test not using datagram packing to ssl-opt.sh
This commit is contained in:
parent
6c4bc14021
commit
84bbc51968
|
@ -1476,6 +1476,21 @@ run_test "Connection ID: Cli+Srv enabled, renegotiate with different CID" \
|
||||||
-s "(after renegotiation) Use of Connection ID has been negotiated" \
|
-s "(after renegotiation) Use of Connection ID has been negotiated" \
|
||||||
-c "(after renegotiation) Use of Connection ID has been negotiated"
|
-c "(after renegotiation) Use of Connection ID has been negotiated"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_CID
|
||||||
|
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
|
||||||
|
run_test "Connection ID, no packing: Cli+Srv enabled, renegotiate with different CID" \
|
||||||
|
"$P_SRV debug_level=3 dtls=1 cid=1 dgram_packing=0 cid_val=dead cid_val_renego=beef renegotiation=1" \
|
||||||
|
"$P_CLI debug_level=3 dtls=1 cid=1 dgram_packing=0 cid_val=beef cid_val_renego=dead renegotiation=1 renegotiate=1" \
|
||||||
|
0 \
|
||||||
|
-c "(initial handshake) Peer CID (length 2 Bytes): de ad" \
|
||||||
|
-s "(initial handshake) Peer CID (length 2 Bytes): be ef" \
|
||||||
|
-s "(initial handshake) Use of Connection ID has been negotiated" \
|
||||||
|
-c "(initial handshake) Use of Connection ID has been negotiated" \
|
||||||
|
-c "(after renegotiation) Peer CID (length 2 Bytes): be ef" \
|
||||||
|
-s "(after renegotiation) Peer CID (length 2 Bytes): de ad" \
|
||||||
|
-s "(after renegotiation) Use of Connection ID has been negotiated" \
|
||||||
|
-c "(after renegotiation) Use of Connection ID has been negotiated"
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_CID
|
requires_config_enabled MBEDTLS_SSL_CID
|
||||||
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
|
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
|
||||||
run_test "Connection ID, 3D+MTU: Cli+Srv enabled, renegotiate with different CID" \
|
run_test "Connection ID, 3D+MTU: Cli+Srv enabled, renegotiate with different CID" \
|
||||||
|
@ -1507,6 +1522,21 @@ run_test "Connection ID: Cli+Srv enabled, renegotiate without CID" \
|
||||||
-C "(after renegotiation) Use of Connection ID has been negotiated" \
|
-C "(after renegotiation) Use of Connection ID has been negotiated" \
|
||||||
-S "(after renegotiation) Use of Connection ID has been negotiated"
|
-S "(after renegotiation) Use of Connection ID has been negotiated"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_CID
|
||||||
|
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
|
||||||
|
run_test "Connection ID, no packing: Cli+Srv enabled, renegotiate without CID" \
|
||||||
|
"$P_SRV debug_level=3 dtls=1 dgram_packing=0 cid=1 cid_val=dead cid_renego=0 renegotiation=1" \
|
||||||
|
"$P_CLI debug_level=3 dtls=1 dgram_packing=0 cid=1 cid_val=beef cid_renego=0 renegotiation=1 renegotiate=1" \
|
||||||
|
0 \
|
||||||
|
-c "(initial handshake) Peer CID (length 2 Bytes): de ad" \
|
||||||
|
-s "(initial handshake) Peer CID (length 2 Bytes): be ef" \
|
||||||
|
-s "(initial handshake) Use of Connection ID has been negotiated" \
|
||||||
|
-c "(initial handshake) Use of Connection ID has been negotiated" \
|
||||||
|
-C "(after renegotiation) Peer CID (length 2 Bytes): de ad" \
|
||||||
|
-S "(after renegotiation) Peer CID (length 2 Bytes): be ef" \
|
||||||
|
-C "(after renegotiation) Use of Connection ID has been negotiated" \
|
||||||
|
-S "(after renegotiation) Use of Connection ID has been negotiated"
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_CID
|
requires_config_enabled MBEDTLS_SSL_CID
|
||||||
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
|
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
|
||||||
run_test "Connection ID, 3D+MTU: Cli+Srv enabled, renegotiate without CID" \
|
run_test "Connection ID, 3D+MTU: Cli+Srv enabled, renegotiate without CID" \
|
||||||
|
@ -1536,6 +1566,19 @@ run_test "Connection ID: Cli+Srv enabled, CID on renegotiation" \
|
||||||
-c "(after renegotiation) Use of Connection ID has been negotiated" \
|
-c "(after renegotiation) Use of Connection ID has been negotiated" \
|
||||||
-s "(after renegotiation) Use of Connection ID has been negotiated"
|
-s "(after renegotiation) Use of Connection ID has been negotiated"
|
||||||
|
|
||||||
|
requires_config_enabled MBEDTLS_SSL_CID
|
||||||
|
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
|
||||||
|
run_test "Connection ID, no packing: Cli+Srv enabled, CID on renegotiation" \
|
||||||
|
"$P_SRV debug_level=3 dtls=1 dgram_packing=0 cid=0 cid_renego=1 cid_val_renego=dead renegotiation=1" \
|
||||||
|
"$P_CLI debug_level=3 dtls=1 dgram_packing=0 cid=0 cid_renego=1 cid_val_renego=beef renegotiation=1 renegotiate=1" \
|
||||||
|
0 \
|
||||||
|
-S "(initial handshake) Use of Connection ID has been negotiated" \
|
||||||
|
-C "(initial handshake) Use of Connection ID has been negotiated" \
|
||||||
|
-c "(after renegotiation) Peer CID (length 2 Bytes): de ad" \
|
||||||
|
-s "(after renegotiation) Peer CID (length 2 Bytes): be ef" \
|
||||||
|
-c "(after renegotiation) Use of Connection ID has been negotiated" \
|
||||||
|
-s "(after renegotiation) Use of Connection ID has been negotiated"
|
||||||
|
|
||||||
requires_config_enabled MBEDTLS_SSL_CID
|
requires_config_enabled MBEDTLS_SSL_CID
|
||||||
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
|
requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
|
||||||
run_test "Connection ID, 3D+MTU: Cli+Srv enabled, CID on renegotiation" \
|
run_test "Connection ID, 3D+MTU: Cli+Srv enabled, CID on renegotiation" \
|
||||||
|
|
Loading…
Reference in a new issue