mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-06-05 21:15:09 +00:00
tls_handshake_tests.py: Fix expected server log
The TLS 1.2 ClientHello function does not return at the end in case of parsing error. Thus adapt the server expected log in case of too small fragments. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
@@ -107,7 +107,7 @@ def write_tls_handshake_defragmentation_test(
|
||||
'SSL - An invalid SSL record was received',
|
||||
]
|
||||
if side == Side.SERVER:
|
||||
wanted_patterns[0:0] = ['<= parse client hello']
|
||||
wanted_patterns[0:0] = ['=> parse client hello']
|
||||
elif version == Version.TLS13:
|
||||
wanted_patterns[0:0] = ['=> ssl_tls13_process_server_hello']
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user