From 1afef53db4edcb0bdb7865cec598f7e1f2a7b2ec Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 11 Oct 2016 22:12:44 +0200 Subject: [PATCH] httptool: add missing CURLOPT_SSL_VERIFYPEER curl option Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3d8f4959ea42578ba37e541872576dd27a738277 Author: vanhofen Date: 2016-10-11 (Tue, 11 Oct 2016) Origin message was: ------------------ - httptool: add missing CURLOPT_SSL_VERIFYPEER curl option ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/system/httptool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system/httptool.cpp b/src/system/httptool.cpp index 72314f10d..772d22161 100644 --- a/src/system/httptool.cpp +++ b/src/system/httptool.cpp @@ -91,6 +91,7 @@ printf("url is %s\n", URL.c_str()); curl_easy_setopt(curl, CURLOPT_USERAGENT, userAgent.c_str()); curl_easy_setopt(curl, CURLOPT_NOSIGNAL, (long)1); curl_easy_setopt(curl, CURLOPT_TIMEOUT, timeout); //NI + curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, false); //NI curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, connecttimeout); //NI curl_easy_setopt(curl, CURLOPT_FAILONERROR, true); #ifdef DEBUG