mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-07-31 08:17:46 +00:00
Tweak "waiting for more handshake fragments" log message
In preparation for reworking mbedtls_ssl_prepare_handshake_record(), tweak the "waiting for more handshake fragments" log message in ssl_consume_current_message(), and add a similar one in mbedtls_ssl_prepare_handshake_record(). Assert both. Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
@@ -125,8 +125,9 @@ def write_tls_handshake_defragmentation_test(
|
||||
forbidden_patterns = []
|
||||
wanted_patterns = [
|
||||
'reassembled record',
|
||||
fr'handshake fragment: 0 \.\. {length} of [0-9]\+ msglen {length}',
|
||||
fr'waiting for more fragments ({length} of',
|
||||
fr'handshake fragment: {length}, 0\.\.{length} of [0-9]\+',
|
||||
fr'Prepare: waiting for more handshake fragments {length}/',
|
||||
fr'Consume: waiting for more handshake fragments {length}/',
|
||||
]
|
||||
|
||||
if cipher is not None:
|
||||
|
||||
Reference in New Issue
Block a user