mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-30 16:26:33 +08:00
test_suite_ssl: Add initialization to all zeroes of test endpoint structs
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
c494497256
commit
86315b62a8
@ -6963,6 +6963,8 @@ void tls13_record_boundary_alignment(int endpoint, int handshake_message)
|
|||||||
int ret = -1;
|
int ret = -1;
|
||||||
int target_state, peer_target_state, encrypted;
|
int target_state, peer_target_state, encrypted;
|
||||||
mbedtls_test_ssl_endpoint client_ep, server_ep;
|
mbedtls_test_ssl_endpoint client_ep, server_ep;
|
||||||
|
memset(&client_ep, 0, sizeof(client_ep));
|
||||||
|
memset(&server_ep, 0, sizeof(server_ep));
|
||||||
|
|
||||||
mbedtls_test_handshake_test_options client_options, server_options;
|
mbedtls_test_handshake_test_options client_options, server_options;
|
||||||
mbedtls_test_init_handshake_options(&client_options);
|
mbedtls_test_init_handshake_options(&client_options);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user