mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 11:44:38 +02:00
fixed memory leak
This commit is contained in:
@@ -3791,13 +3791,11 @@ static void test_client_verifyDepth(void* args)
|
|||||||
method = cbf->method();
|
method = cbf->method();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
method = wolfSSLv23_server_method();
|
method = wolfSSLv23_client_method();
|
||||||
}
|
}
|
||||||
ctx = wolfSSL_CTX_new(method);
|
ctx = wolfSSL_CTX_new(method);
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx = wolfSSL_CTX_new(wolfSSLv23_client_method());
|
|
||||||
|
|
||||||
/* Do connect here so server detects failures */
|
/* Do connect here so server detects failures */
|
||||||
tcp_connect(&sockfd, wolfSSLIP, ((func_args*)args)->signal->port,
|
tcp_connect(&sockfd, wolfSSLIP, ((func_args*)args)->signal->port,
|
||||||
0, 0, NULL);
|
0, 0, NULL);
|
||||||
|
Reference in New Issue
Block a user