aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/axtls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/axtls.c b/lib/vtls/axtls.c
index df6ae9562..94bd145ab 100644
--- a/lib/vtls/axtls.c
+++ b/lib/vtls/axtls.c
@@ -265,10 +265,10 @@ static CURLcode connect_prep(struct connectdata *conn, int sockindex)
infof (data, "SSL re-using session ID\n");
ssl = ssl_client_new(ssl_ctx, conn->sock[sockindex],
ssl_sessionid, (uint8_t)ssl_idsize);
- Curl_ssl_sessionid_unlock();
+ Curl_ssl_sessionid_unlock(conn);
}
else {
- Curl_ssl_sessionid_unlock();
+ Curl_ssl_sessionid_unlock(conn);
ssl = ssl_client_new(ssl_ctx, conn->sock[sockindex], NULL, 0);
}