no certificate check

git-svn-id: svn://localhost/ardour2/branches/3.0@14194 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2013-03-08 20:10:53 +00:00
parent d5435543ab
commit ab3580db7c

View File

@@ -81,10 +81,14 @@ _pingback (void *arg)
curl_global_init (CURL_GLOBAL_NOTHING);
c = curl_easy_init ();
curl_easy_setopt(c, CURLOPT_WRITEFUNCTION, curl_write_data);
curl_easy_setopt(c, CURLOPT_WRITEDATA, &return_str);
curl_easy_setopt (c, CURLOPT_WRITEFUNCTION, curl_write_data);
curl_easy_setopt (c, CURLOPT_WRITEDATA, &return_str);
char errbuf[CURL_ERROR_SIZE];
curl_easy_setopt(c, CURLOPT_ERRORBUFFER, errbuf);
curl_easy_setopt (c, CURLOPT_ERRORBUFFER, errbuf);
/* we really would prefer to be able to authenticate the certificate
but this has issues that right now (march 2013), i don't understand.
*/
curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, 0);
//get announcements from our server
std::cerr << "Checking for Announcements from ardour.org ...\n";