summaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2021-06-20 16:42:58 -0400
committerJay Satiro <raysatiro@yahoo.com>2021-06-21 01:59:05 -0400
commitb31d9ccfc2da288900e6857ad8d048c612328cac (patch)
tree4d2c1194dd4263041c07411eb417aa60a0c402ef /lib/vtls
parent765e060796d5f88550bf4e7610fb0c7a7eca7f39 (diff)
downloadcurl-b31d9ccfc2da288900e6857ad8d048c612328cac.tar.gz
vtls: fix warning due to function prototype mismatch
b09c8ee changed the function prototype. Caught by Visual Studio.
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/vtls.c2
-rw-r--r--lib/vtls/vtls.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c
index 82883c9c5..fe43703bf 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 a0585c9ce..f1a9b8033 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);