Skip to content

Commit 5c8cbb2

Browse files
ssl-opt: Added DSA-RSA dependency on TLS1.2 defragmentation testing.
Signed-off-by: Minos Galanakis <[email protected]>
1 parent 1b2aa21 commit 5c8cbb2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/ssl-opt.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13899,9 +13899,13 @@ run_test "Handshake defragmentation on client: len=512, TLS 1.3" \
1389913899
-c "handshake fragment: 0 \\.\\. 512 of [0-9]\\+ msglen 512" \
1390013900
-c "waiting for more fragments (512 of [0-9]\\+"
1390113901

13902+
# Since the removal of the DSA-RSA key exchange, the default openssl server
13903+
# certificate does not match what is provided by the testing client. Those
13904+
# use-cases are out of scope for defregmentation testing, and should be skipped.
1390213905
requires_openssl_3_x
1390313906
requires_protocol_version tls12
1390413907
requires_certificate_authentication
13908+
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1390513909
run_test "Handshake defragmentation on client: len=512, TLS 1.2" \
1390613910
"$O_NEXT_SRV -tls1_2 -max_send_frag 512 " \
1390713911
"$P_CLI debug_level=4 " \
@@ -13924,6 +13928,7 @@ run_test "Handshake defragmentation on client: len=513, TLS 1.3" \
1392413928
requires_openssl_3_x
1392513929
requires_protocol_version tls12
1392613930
requires_certificate_authentication
13931+
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1392713932
run_test "Handshake defragmentation on client: len=513, TLS 1.2" \
1392813933
"$O_NEXT_SRV -tls1_2 -max_send_frag 513 " \
1392913934
"$P_CLI debug_level=4 " \
@@ -13946,6 +13951,7 @@ run_test "Handshake defragmentation on client: len=256, TLS 1.3" \
1394613951
requires_openssl_3_x
1394713952
requires_protocol_version tls12
1394813953
requires_certificate_authentication
13954+
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1394913955
run_test "Handshake defragmentation on client: len=256, TLS 1.2" \
1395013956
"$O_NEXT_SRV -tls1_2 -split_send_frag 256 " \
1395113957
"$P_CLI debug_level=4 " \
@@ -13968,6 +13974,7 @@ run_test "Handshake defragmentation on client: len=128, TLS 1.3" \
1396813974
requires_openssl_3_x
1396913975
requires_protocol_version tls12
1397013976
requires_certificate_authentication
13977+
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1397113978
run_test "Handshake defragmentation on client: len=128, TLS 1.2" \
1397213979
"$O_NEXT_SRV -tls1_2 -split_send_frag 128 " \
1397313980
"$P_CLI debug_level=4 " \
@@ -13990,6 +13997,7 @@ run_test "Handshake defragmentation on client: len=64, TLS 1.3" \
1399013997
requires_openssl_3_x
1399113998
requires_protocol_version tls12
1399213999
requires_certificate_authentication
14000+
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1399314001
run_test "Handshake defragmentation on client: len=64, TLS 1.2" \
1399414002
"$O_NEXT_SRV -tls1_2 -split_send_frag 64 " \
1399514003
"$P_CLI debug_level=4 " \
@@ -14012,6 +14020,7 @@ run_test "Handshake defragmentation on client: len=36, TLS 1.3" \
1401214020
requires_openssl_3_x
1401314021
requires_protocol_version tls12
1401414022
requires_certificate_authentication
14023+
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1401514024
run_test "Handshake defragmentation on client: len=36, TLS 1.2" \
1401614025
"$O_NEXT_SRV -tls1_2 -split_send_frag 36 " \
1401714026
"$P_CLI debug_level=4 " \
@@ -14034,6 +14043,7 @@ run_test "Handshake defragmentation on client: len=32, TLS 1.3" \
1403414043
requires_openssl_3_x
1403514044
requires_protocol_version tls12
1403614045
requires_certificate_authentication
14046+
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1403714047
run_test "Handshake defragmentation on client: len=32, TLS 1.2" \
1403814048
"$O_NEXT_SRV -tls1_2 -split_send_frag 32 " \
1403914049
"$P_CLI debug_level=4 " \
@@ -14056,6 +14066,7 @@ run_test "Handshake defragmentation on client: len=14, TLS 1.3" \
1405614066
requires_openssl_3_x
1405714067
requires_protocol_version tls12
1405814068
requires_certificate_authentication
14069+
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1405914070
run_test "Handshake defragmentation on client: len=14, TLS 1.2" \
1406014071
"$O_NEXT_SRV -tls1_2 -split_send_frag 16 " \
1406114072
"$P_CLI debug_level=4 " \
@@ -14100,6 +14111,7 @@ run_test "Handshake defragmentation on client: len=3, TLS 1.3" \
1410014111
requires_openssl_3_x
1410114112
requires_protocol_version tls12
1410214113
requires_certificate_authentication
14114+
requires_config_enabled MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
1410314115
run_test "Handshake defragmentation on client: len=3, TLS 1.2" \
1410414116
"$O_NEXT_SRV -tls1_2 -split_send_frag 3 " \
1410514117
"$P_CLI debug_level=4 " \

0 commit comments

Comments
 (0)