Index: binaries/data/config/default.cfg =================================================================== --- binaries/data/config/default.cfg +++ binaries/data/config/default.cfg @@ -474,7 +474,7 @@ debug = false ; Print error messages each time a translation for an English string is not found. [userreport] ; Opt-in online user reporting system -url = "http://feedback.wildfiregames.com/report/upload/v1/" +url = "https://feedback.wildfiregames.com/report/upload" [view] ; Camera control settings scroll.speed = 120.0 Index: source/ps/UserReport.cpp =================================================================== --- source/ps/UserReport.cpp +++ source/ps/UserReport.cpp @@ -94,6 +94,8 @@ #if DEBUG_UPLOADS curl_easy_setopt(m_Curl, CURLOPT_VERBOSE, 1L); + // Allows to use self-signed certificates. + curl_easy_setopt(m_Curl, CURLOPT_SSL_VERIFYPEER, 0L); #endif // Capture error messages @@ -115,6 +117,9 @@ curl_easy_setopt(m_Curl, CURLOPT_URL, url.c_str()); curl_easy_setopt(m_Curl, CURLOPT_POST, 1L); + // Requires use of SSL, else conneciton fails. + curl_easy_setopt(m_Curl, CURLOPT_USE_SSL, CURLUSESSL_ALL); + // Set up HTTP headers m_Headers = NULL; // Set the UA string @@ -548,7 +553,7 @@ { int version = -1; CFG_GET_VAL("userreport.enabledversion", version); - return (version >= REPORTER_VERSION); + return version >= REPORTER_VERSION; } void CUserReporter::SetReportingEnabled(bool enabled)