diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2021-06-20 16:42:58 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2021-06-21 01:59:05 -0400 |
commit | b31d9ccfc2da288900e6857ad8d048c612328cac (patch) | |
tree | 4d2c1194dd4263041c07411eb417aa60a0c402ef /lib/vtls | |
parent | 765e060796d5f88550bf4e7610fb0c7a7eca7f39 (diff) | |
download | curl-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.c | 2 | ||||
-rw-r--r-- | lib/vtls/vtls.h | 2 |
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); |