Files
Naveed ebcb95c130 Add regression tests for ssl_context_load length checks
Backport the ssl_context_load_rejects_oob_length test function from
development in its final form, with cases for the serialized in_cid,
out_cid and ALPN lengths.

mbedtls_test_ssl_dtls_join_endpoints() and
mbedtls_test_ssl_perform_connection() do not exist on this branch, so
set up the DTLS endpoints and run the handshake with the helpers that
do: mbedtls_test_ssl_endpoint_init() with message queues,
mbedtls_test_mock_socket_connect() and
mbedtls_test_move_handshake_to_state(). Exchange application data
explicitly before saving the context, as
mbedtls_test_ssl_perform_connection() does on development: the server
keeps its handshake structure until then, and
mbedtls_ssl_context_save() refuses to run while it exists.

Signed-off-by: Naveed <[email protected]>
2026-10-04 22:53:31 +05:30
..
2026-03-03 15:19:58 +01:00
2024-01-16 18:38:55 +00:00
2024-01-16 16:27:34 +00:00
2026-06-11 14:10:21 +01:00
2024-02-01 13:54:46 +00:00
2023-07-27 14:17:27 +01:00
2023-07-27 14:17:27 +01:00
2023-07-27 16:02:42 +01:00
2023-07-27 14:17:27 +01:00
2024-05-23 21:43:55 +02:00
2023-03-31 18:04:34 +01:00