diff --git a/lib/vssh/libssh.c b/lib/vssh/libssh.c index f5ad541cd1..0faf830768 100644 --- a/lib/vssh/libssh.c +++ b/lib/vssh/libssh.c @@ -1661,9 +1661,6 @@ static int myssh_in_SFTP_QUOTE_STAT(struct Curl_easy *data, myssh_quote_error(data, sshc, NULL); return SSH_NO_ERROR; } - if(date > (time_t)UINT_MAX) - /* because the liubssh API cannot deal with a larger value */ - date = UINT_MAX; if(!strncmp(cmd, "atime", 5)) sshc->quote_attrs->atime = (uint32_t)date; else /* mtime */