summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Rybczak <andrzej@rybczak.net>2017-10-12 13:29:51 +0200
committerAndrzej Rybczak <andrzej@rybczak.net>2017-10-12 13:29:51 +0200
commitb7da5d1b9af1f3b0022c1f7daa0c7d12ae72a21d (patch)
treed28f92793b488fad051a9b18f5e15d9b75d62f4a
parent58bb6b5a4398fc4fb7cdfd174a20464926e472d1 (diff)
Curl: re-enable verification of the SSL certificate against host0.8.1
-rw-r--r--src/curl_handle.cpp2
1 files changed, 0 insertions, 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);