diff --git a/get.c b/get.c index f25e70f..fc8075e 100644 --- a/get.c +++ b/get.c @@ -16,6 +16,11 @@ int main(int argc, char *argv[]) { curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L); curl_easy_setopt(hnd, CURLOPT_TCP_KEEPALIVE, 1L); +#if defined(_WIN32) + curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L); + curl_easy_setopt(hnd, CURLOPT_ssl_verifyhost, 0L); +#endif + ret = curl_easy_perform(hnd); if (ret != CURLE_OK) { fprintf(stderr, "curl_easy_perform() failed: %s\n", curl_easy_strerror(ret));