no certificate check
git-svn-id: svn://localhost/ardour2/branches/3.0@14194 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user