From bec233515e102d6be17ca1384d213cbf97393ec5 Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 1 Mar 2020 11:54:21 -0800 Subject: [PATCH] Windows gaysed: the sequel --- src/hms123311.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hms123311.c b/src/hms123311.c index d3e7adc2a..fd043bb8d 100644 --- a/src/hms123311.c +++ b/src/hms123311.c @@ -110,6 +110,7 @@ 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, 1L);/* WTF WINDOWS!! */ curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, HMS_on_read); curl_easy_setopt(curl, CURLOPT_WRITEDATA, buffer);