vtls: fix warning due to function prototype mismatch

b09c8ee changed the function prototype. Caught by Visual Studio.
This commit is contained in:
Jay Satiro 2021-06-20 16:42:58 -04:00
parent 765e060796
commit b31d9ccfc2
2 changed files with 2 additions and 2 deletions

View File

@ -497,7 +497,7 @@ void Curl_ssl_delsessionid(struct Curl_easy *data, void *ssl_sessionid)
*/ */
CURLcode Curl_ssl_addsessionid(struct Curl_easy *data, CURLcode Curl_ssl_addsessionid(struct Curl_easy *data,
struct connectdata *conn, struct connectdata *conn,
bool isProxy, const bool isProxy,
void *ssl_sessionid, void *ssl_sessionid,
size_t idsize, size_t idsize,
int sockindex) int sockindex)

View File

@ -247,7 +247,7 @@ void Curl_ssl_sessionid_unlock(struct Curl_easy *data);
*/ */
bool Curl_ssl_getsessionid(struct Curl_easy *data, bool Curl_ssl_getsessionid(struct Curl_easy *data,
struct connectdata *conn, struct connectdata *conn,
const bool isproxy, const bool isProxy,
void **ssl_sessionid, void **ssl_sessionid,
size_t *idsize, /* set 0 if unknown */ size_t *idsize, /* set 0 if unknown */
int sockindex); int sockindex);