File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -14495,6 +14495,24 @@ run_test "Handshake defragmentation on server: len=5, TLS 1.3" \
1449514495 -s "handshake fragment: 0 \\.\\. 5 of [0-9]\\+ msglen 5" \
1449614496 -s "waiting for more fragments (5"
1449714497
14498+ # Test Server Buffer resizing with fragmented handshake on TLS1.2
14499+ # TODO investigate a a GNUTLS version for -maxfraglen 512
14500+ requires_openssl_3_x
14501+ requires_protocol_version tls12
14502+ requires_certificate_authentication
14503+ requires_config_enabled MBEDTLS_SSL_MAX_FRAGMENT_LENGTH
14504+ requires_config_enabled MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH
14505+ requires_max_content_len 1025
14506+ run_test "Handshake defragmentation on Server with buffer resizing: len=256, MFL=1024" \
14507+ "$P_SRV debug_level=4 auth_mode=required" \
14508+ "$O_NEXT_CLI -tls1_2 -split_send_frag 256 -split_send_frag 256 -maxfraglen 1024 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key" \
14509+ 0 \
14510+ -s "Reallocating in_buf" \
14511+ -s "Reallocating out_buf" \
14512+ -s "reassembled record" \
14513+ -s "handshake fragment: 0 \\.\\. 256 of [0-9]\\+ msglen 256" \
14514+ -s "waiting for more fragments (256"
14515+
1449814516# Test heap memory usage after handshake
1449914517requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
1450014518requires_config_enabled MBEDTLS_MEMORY_DEBUG
You can’t perform that action at this time.
0 commit comments