mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:23:32 +03:00
ssl session caching: fix compiler warnings
This commit is contained in:
parent
d1becc3231
commit
d56b4c3f89
7 changed files with 39 additions and 53 deletions
|
|
@ -1420,9 +1420,9 @@ CURLcode Curl_pretransfer(struct SessionHandle *data)
|
|||
}
|
||||
|
||||
/* Init the SSL session ID cache here. We do it here since we want to do it
|
||||
after the *_setopt() calls (that could change the size of the cache) but
|
||||
after the *_setopt() calls (that could specify the size of the cache) but
|
||||
before any transfer takes place. */
|
||||
res = Curl_ssl_initsessions(data, data->set.ssl.numsessions);
|
||||
res = Curl_ssl_initsessions(data, data->set.ssl.max_ssl_sessions);
|
||||
if(res)
|
||||
return res;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue