@@ -14086,6 +14086,28 @@ run_test "Handshake defragmentation on client: len=5, TLS 1.3" \
1408614086 -c "handshake fragment: 0 \\.\\. 5 of [0-9]\\+ msglen 5" \
1408714087 -c "waiting for more fragments (5"
1408814088
14089+ requires_openssl_3_x
14090+ requires_protocol_version tls13
14091+ requires_certificate_authentication
14092+ run_test "Handshake defragmentation on client: len=3, TLS 1.3" \
14093+ "$O_NEXT_SRV -tls1_3 -split_send_frag 3 " \
14094+ "$P_CLI debug_level=4 " \
14095+ 1 \
14096+ -c "=> ssl_tls13_process_server_hello" \
14097+ -c "handshake message too short: 3" \
14098+ -c "SSL - An invalid SSL record was received"
14099+
14100+ requires_openssl_3_x
14101+ requires_protocol_version tls12
14102+ requires_certificate_authentication
14103+ run_test "Handshake defragmentation on client: len=3, TLS 1.2" \
14104+ "$O_NEXT_SRV -tls1_2 -split_send_frag 3 " \
14105+ "$P_CLI debug_level=4 " \
14106+ 1 \
14107+ -c "=> ssl_tls13_process_server_hello" \
14108+ -c "handshake message too short: 3" \
14109+ -c "SSL - An invalid SSL record was received"
14110+
1408914111requires_openssl_3_x
1409014112requires_protocol_version tls13
1409114113requires_certificate_authentication
@@ -14263,6 +14285,29 @@ run_test "Handshake defragmentation on server: len=4, TLS 1.2" \
1426314285 -s "handshake fragment: 0 \\.\\. 4 of [0-9]\\+ msglen 4" \
1426414286 -s "waiting for more fragments (4"
1426514287
14288+ requires_openssl_3_x
14289+ requires_protocol_version tls13
14290+ requires_certificate_authentication
14291+ run_test "Handshake defragmentation on server: len=3, TLS 1.3" \
14292+ "$P_SRV debug_level=4 auth_mode=required" \
14293+ "$O_NEXT_CLI -tls1_3 -split_send_frag 3 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
14294+ 1 \
14295+ -s "<= parse client hello" \
14296+ -s "handshake message too short: 3" \
14297+ -s "SSL - An invalid SSL record was received"
14298+
14299+ requires_openssl_3_x
14300+ requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
14301+ requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_3
14302+ requires_certificate_authentication
14303+ run_test "Handshake defragmentation on server: len=3, TLS 1.3" \
14304+ "$P_SRV debug_level=4 auth_mode=required" \
14305+ "$O_NEXT_CLI -tls1_2 -split_send_frag 3 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
14306+ 1 \
14307+ -s "<= parse client hello" \
14308+ -s "handshake message too short: 3" \
14309+ -s "SSL - An invalid SSL record was received"
14310+
1426614311# Test heap memory usage after handshake
1426714312requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
1426814313requires_config_enabled MBEDTLS_MEMORY_DEBUG
0 commit comments