Fixed: Compilation

--HG--
branch : develop
This commit is contained in:
kervala 2018-08-07 20:29:39 +02:00
parent 6966bc1a12
commit b4f69007f6

View file

@ -297,7 +297,7 @@ namespace NLGUI
void CCurlCertificates::useCertificates(CURL *curl) void CCurlCertificates::useCertificates(CURL *curl)
{ {
// CURL must be valid, using OpenSSL backend and certificates must be loaded, else return // CURL must be valid, using OpenSSL backend and certificates must be loaded, else return
if (!curl || !isUsingOpenSSLBackend || x509CertListManager.CertList.empty()) return; if (!curl || !x509CertListManager.isUsingOpenSSLBackend || x509CertListManager.CertList.empty()) return;
curl_easy_setopt(curl, CURLOPT_SSLCERTTYPE, "PEM"); curl_easy_setopt(curl, CURLOPT_SSLCERTTYPE, "PEM");