Skip to content

Commit

Permalink
Merge pull request #38 from 8W9aG/no-verify-ssl-android
Browse files Browse the repository at this point in the history
Do not verify SSL on Android
  • Loading branch information
drubinstein committed Mar 27, 2020
2 parents 8f800cf + ffea2d6 commit 700a9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ClientCurl.cpp
Expand Up @@ -288,7 +288,7 @@ void ClientCurl::HandleInfo::configureCurlHandle() {

curl_easy_setopt(handle, CURLOPT_TIMEOUT, 30);

#if __APPLE__
#if __APPLE__ || ANDROID
curl_easy_setopt(handle, CURLOPT_SSL_VERIFYPEER, false);
curl_easy_setopt(handle, CURLOPT_SSL_VERIFYHOST, false);
#endif
Expand Down

0 comments on commit 700a9d0

Please sign in to comment.