summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/vtls/polarssl.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2019-11-08 10:55:37 +0300
committerdartraiden <wowemuh@gmail.com>2019-11-08 10:55:37 +0300
commit72d615e38510b5a0da501db32c8260daacee0104 (patch)
tree2034f84c9d9a4ca5a2396d923bf151985aff1dbb /libs/libcurl/src/vtls/polarssl.c
parent4da5039cd9bed18e59e298f8972f967e99a9149d (diff)
libcurl: update to 7.67
Diffstat (limited to 'libs/libcurl/src/vtls/polarssl.c')
-rw-r--r--libs/libcurl/src/vtls/polarssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libcurl/src/vtls/polarssl.c b/libs/libcurl/src/vtls/polarssl.c
index 7ea26b4425..9e7dd90437 100644
--- a/libs/libcurl/src/vtls/polarssl.c
+++ b/libs/libcurl/src/vtls/polarssl.c
@@ -734,7 +734,7 @@ polarssl_connect_common(struct connectdata *conn,
struct Curl_easy *data = conn->data;
struct ssl_connect_data *connssl = &conn->ssl[sockindex];
curl_socket_t sockfd = conn->sock[sockindex];
- long timeout_ms;
+ timediff_t timeout_ms;
int what;
/* check if the connection has already been established */
@@ -781,7 +781,7 @@ polarssl_connect_common(struct connectdata *conn,
connssl->connecting_state?sockfd:CURL_SOCKET_BAD;
what = Curl_socket_check(readfd, CURL_SOCKET_BAD, writefd,
- nonblocking?0:timeout_ms);
+ nonblocking?0:(time_t)timeout_ms);
if(what < 0) {
/* fatal error */
failf(data, "select/poll on SSL socket, errno: %d", SOCKERRNO);