vtls: reduce conn->data use

Closes #6474
This commit is contained in:
Patrick Monnerat 2021-01-13 17:01:31 +01:00 committed by Daniel Stenberg
parent 8399d89360
commit bbe3aa9f88
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
24 changed files with 597 additions and 564 deletions

View file

@ -58,7 +58,7 @@ static CURLcode https_proxy_connect(struct connectdata *conn, int sockindex)
if(!conn->bits.proxy_ssl_connected[sockindex]) {
/* perform SSL initialization for this socket */
result =
Curl_ssl_connect_nonblocking(conn, sockindex,
Curl_ssl_connect_nonblocking(conn->data, conn, sockindex,
&conn->bits.proxy_ssl_connected[sockindex]);
if(result)
/* a failed connection is marked for closure to prevent (bad) re-use or