Fixed: Compilation
--HG-- branch : develop
This commit is contained in:
parent
6966bc1a12
commit
b4f69007f6
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue