setSSLVerifyHost accepts a bool, not 0 or 2.

meow-7.2.2
Nicky 2018-04-03 11:10:03 +02:00
parent f82548b931
commit 9dff41dcc3
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ void LLXMLRPCTransaction::Impl::init(XMLRPC_REQUEST request, bool useGzip, const
mCertStore = gSavedSettings.getString("CertStore");
httpOpts->setSSLVerifyPeer( vefifySSLCert );
httpOpts->setSSLVerifyHost( vefifySSLCert ? 2 : 0);
httpOpts->setSSLVerifyHost( vefifySSLCert );
// LLRefCounted starts with a 1 ref, so don't add a ref in the smart pointer
httpHeaders = LLCore::HttpHeaders::ptr_t(new LLCore::HttpHeaders());