mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
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 <naveed@bugqore.com> |
||
|---|---|---|
| .. | ||
| .jenkins | ||
| configs | ||
| git-scripts | ||
| include | ||
| opt-testcases | ||
| scripts | ||
| src | ||
| suites | ||
| .gitignore | ||
| CMakeLists.txt | ||
| compat-in-docker.sh | ||
| compat.sh | ||
| context-info.sh | ||
| Descriptions.txt | ||
| make-in-docker.sh | ||
| Makefile | ||
| ssl-opt.sh | ||