mbedtls_test_ssl_do_handshake_with_endpoints: Zeroize endpoints

Signed-off-by: Max Fillinger <[email protected]>
This commit is contained in:
Max Fillinger
2025-03-28 17:08:12 +01:00
committed by Max Fillinger
parent d6e0095478
commit ee467aae69
+3
View File
@@ -2039,6 +2039,9 @@ int mbedtls_test_ssl_do_handshake_with_endpoints(
int ret = -1;
mbedtls_platform_zeroize(server_ep, sizeof(mbedtls_test_ssl_endpoint));
mbedtls_platform_zeroize(client_ep, sizeof(mbedtls_test_ssl_endpoint));
mbedtls_test_init_handshake_options(options);
options->server_min_version = proto;
options->client_min_version = proto;