Skip to content

Commit b7da5d1

Browse files
committed
Curl: re-enable verification of the SSL certificate against host
1 parent 58bb6b5 commit b7da5d1

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎src/curl_handle.cpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ CURLcode Curl::perform(std::string &data, const std::string &URL, const std::str
4141
curl_easy_setopt(c, CURLOPT_WRITEDATA, &data);
4242
curl_easy_setopt(c, CURLOPT_CONNECTTIMEOUT, timeout);
4343
curl_easy_setopt(c, CURLOPT_NOSIGNAL, 1);
44-
// Workaround last.fm SSL certificate problems.
45-
curl_easy_setopt(c, CURLOPT_SSL_VERIFYHOST, 0);
4644
curl_easy_setopt(c, CURLOPT_USERAGENT, "ncmpcpp " VERSION);
4745
if (follow_redirect)
4846
curl_easy_setopt(c, CURLOPT_FOLLOWLOCATION, 1L);

0 commit comments

Comments
 (0)