ssl-opt: Added negative-assertion testing, (HS Fragmentation disabled)

Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
Minos Galanakis 2025-02-18 17:21:22 +00:00
parent 48aa2deb0b
commit 871469a106

View File

@ -14458,6 +14458,15 @@ run_test "TLS 1.2 ClientHello indicating support for deflate compression meth
-s "dumping .client hello, compression. (2 bytes)" -s "dumping .client hello, compression. (2 bytes)"
# Handshake defragmentation testing # Handshake defragmentation testing
requires_openssl_3_x
requires_protocol_version tls13
requires_certificate_authentication
run_test "Handshake defragmentation on client (no fragmentation, for reference)" \
"$O_NEXT_SRV" \
"$P_CLI debug_level=4 " \
0 \
-C "reassembled record" \
-C "waiting for more fragments"
requires_openssl_3_x requires_openssl_3_x
requires_protocol_version tls13 requires_protocol_version tls13
@ -14685,6 +14694,16 @@ run_test "Handshake defragmentation on client: len=5, TLS 1.2" \
-c "handshake fragment: 0 \\.\\. 5 of [0-9]\\+ msglen 5" \ -c "handshake fragment: 0 \\.\\. 5 of [0-9]\\+ msglen 5" \
-c "waiting for more fragments (5" -c "waiting for more fragments (5"
requires_openssl_3_x
requires_protocol_version tls13
requires_certificate_authentication
run_test "Handshake defragmentation on server (no fragmentation, for reference)." \
"$P_SRV debug_level=4 auth_mode=required" \
"$O_NEXT_CLI -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
0 \
-C "reassembled record" \
-C "waiting for more fragments"
requires_openssl_3_x requires_openssl_3_x
requires_protocol_version tls13 requires_protocol_version tls13
requires_certificate_authentication requires_certificate_authentication