Disable CURLOPT_SSL_VERIFYHOST on OSX, since it doesn't work (with
osx's curl version at least).
This commit is contained in:
parent
b592e5224b
commit
93b4aa15c2
@ -194,7 +194,11 @@ namespace Online
|
||||
else
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||
|
||||
#ifdef __APPLE__
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
#else
|
||||
curl_easy_setopt(m_curl_session, CURLOPT_SSL_VERIFYHOST, 1L);
|
||||
#endif
|
||||
}
|
||||
} // prepareOperation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user