| 142 | } |
| 143 | |
| 144 | void CURLConnection::setSSLBackEnd(curl_sslbackend sslbackend) |
| 145 | { |
| 146 | //For https ignore CA certificates |
| 147 | curl_easy_setopt(mHttp_handle, CURLOPT_SSL_VERIFYPEER, FALSE); |
| 148 | |
| 149 | // openssl not verify host, otherwise will return CURLE_PEER_FAILED_VERIFICATION |
| 150 | if (sslbackend == CURLSSLBACKEND_OPENSSL) { |
| 151 | curl_easy_setopt(mHttp_handle, CURLOPT_SSL_VERIFYHOST, FALSE); |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | Cicada::CURLConnection::~CURLConnection() |
| 156 | { |
no outgoing calls
no test coverage detected