From: Jay Satiro Date: Sun, 20 Jun 2021 20:42:58 +0000 (-0400) Subject: vtls: fix warning due to function prototype mismatch X-Git-Tag: curl-7_78_0~105 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b31d9ccfc2da288900e6857ad8d048c612328cac;p=thirdparty%2Fcurl.git vtls: fix warning due to function prototype mismatch b09c8ee changed the function prototype. Caught by Visual Studio. --- diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index 82883c9c55..fe43703bf8 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -497,7 +497,7 @@ void Curl_ssl_delsessionid(struct Curl_easy *data, void *ssl_sessionid) */ CURLcode Curl_ssl_addsessionid(struct Curl_easy *data, struct connectdata *conn, - bool isProxy, + const bool isProxy, void *ssl_sessionid, size_t idsize, int sockindex) diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h index a0585c9cec..f1a9b8033a 100644 --- a/lib/vtls/vtls.h +++ b/lib/vtls/vtls.h @@ -247,7 +247,7 @@ void Curl_ssl_sessionid_unlock(struct Curl_easy *data); */ bool Curl_ssl_getsessionid(struct Curl_easy *data, struct connectdata *conn, - const bool isproxy, + const bool isProxy, void **ssl_sessionid, size_t *idsize, /* set 0 if unknown */ int sockindex);