mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-24 05:00:45 -04:00
mbedtls_test_ssl_do_handshake_with_endpoints: Zeroize endpoints
Signed-off-by: Max Fillinger <max@max-fillinger.net>
This commit is contained in:
parent
ede294ea42
commit
c8f936e746
@ -2048,6 +2048,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user