mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-24 05:00:45 -04:00
ssl-opt: Added negative-assertion testing, (HS Fragmentation disabled)
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
parent
48aa2deb0b
commit
871469a106
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user