Windows certs do work, thanks Steel!

This commit is contained in:
James R 2020-04-12 17:51:30 -07:00
parent 969fe0b28e
commit 3f4224ed37

View file

@ -131,7 +131,6 @@ HMS_connect (const char *format, ...)
curl_easy_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_easy_setopt(curl, CURLOPT_URL, url);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);/* WTF WINDOWS!! */
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, HMS_on_read);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, buffer);