From b7da5d1b9af1f3b0022c1f7daa0c7d12ae72a21d Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Thu, 12 Oct 2017 13:29:51 +0200 Subject: [PATCH] Curl: re-enable verification of the SSL certificate against host --- src/curl_handle.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/curl_handle.cpp b/src/curl_handle.cpp index 7be15675..dfe2c495 100644 --- a/src/curl_handle.cpp +++ b/src/curl_handle.cpp @@ -41,8 +41,6 @@ CURLcode Curl::perform(std::string &data, const std::string &URL, const std::str curl_easy_setopt(c, CURLOPT_WRITEDATA, &data); curl_easy_setopt(c, CURLOPT_CONNECTTIMEOUT, timeout); curl_easy_setopt(c, CURLOPT_NOSIGNAL, 1); - // Workaround last.fm SSL certificate problems. - curl_easy_setopt(c, CURLOPT_SSL_VERIFYHOST, 0); curl_easy_setopt(c, CURLOPT_USERAGENT, "ncmpcpp " VERSION); if (follow_redirect) curl_easy_setopt(c, CURLOPT_FOLLOWLOCATION, 1L);