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 @@ -14228,6 +14228,24 @@ run_test "Handshake defragmentation on Server with buffer resizing: len=256,
1422814228 -s "handshake fragment: 0 \\.\\. 256 of [0-9]\\+ msglen 256" \
1422914229 -s "waiting for more fragments (256"
1423014230
14231+ # Test Client initialised renegotiation with fragmented handshake on TLS1.2
14232+ requires_openssl_3_x
14233+ requires_protocol_version tls12
14234+ requires_certificate_authentication
14235+ requires_config_enabled MBEDTLS_SSL_RENEGOTIATION
14236+ run_test "Handshake defragmentation with client-initiated renegotation: len=256" \
14237+ "$P_SRV debug_level=4 exchanges=2 renegotiation=1 auth_mode=required" \
14238+ "echo 'R' | $OPENSSL_NEXT s_client -tls1_2 -split_send_frag 256 -cert $DATA_FILES_PATH/server5.crt -key $DATA_FILES_PATH/server5.key -connect 127.0.0.1:+$SRV_PORT" \
14239+ 0 \
14240+ -s "received TLS_EMPTY_RENEGOTIATION_INFO" \
14241+ -s "found renegotiation extension" \
14242+ -s "server hello, secure renegotiation extension" \
14243+ -s "=> renegotiate" \
14244+ -S "write hello request" \
14245+ -s "reassembled record" \
14246+ -s "handshake fragment: 0 \\.\\. 256 of [0-9]\\+ msglen 256" \
14247+ -s "waiting for more fragments (256"
14248+
1423114249# Test heap memory usage after handshake
1423214250requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
1423314251requires_config_enabled MBEDTLS_MEMORY_DEBUG
You can’t perform that action at this time.
0 commit comments