aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2016-06-16 08:29:10 +0200
committerDan Fandrich <dan@coneharvesters.com>2016-06-16 08:29:10 +0200
commit52c5e9488c0bebc002d114d747fee697d422d02d (patch)
tree96de399be2f7b9a20f93bb5e5519da975527b097
parent67176e2b840486c58a107ab1178d19cfa65faf0f (diff)
axtls: Fixed compile after compile 31c521b0
-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);
}