Skip to content

Commit 4ce4dd7

Browse files
committed
Use correct size for memset
1 parent 6c7b47e commit 4ce4dd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8771,8 +8771,8 @@ static int test_wolfSSL_CTX_add_session_ext(
87718771
/* connection 1 - first connection */
87728772
fprintf(stderr, "\tconnect: %s: j=%d\n", param->tls_version, j);
87738773

8774-
XMEMSET(&client_cb, 0, sizeof(callback_functions));
8775-
XMEMSET(&server_cb, 0, sizeof(callback_functions));
8774+
XMEMSET(&client_cb, 0, sizeof(client_cb));
8775+
XMEMSET(&server_cb, 0, sizeof(server_cb));
87768776
client_cb.method = param->client_meth;
87778777
server_cb.method = param->server_meth;
87788778

0 commit comments

Comments
 (0)