Merge pull request #334 from xzcvczx/ssl-noverify

Change TR_CURL_SSL_VERIFY to TR_CURL_SSL_NO_VERIFY
This commit is contained in:
Mike Gelfand 2017-07-16 20:55:25 +03:00 committed by GitHub
commit 3d21f39cd4
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ static void tr_webThreadFunc(void* vsession)
web->taskLock = tr_lockNew();
web->tasks = NULL;
web->curl_verbose = tr_env_key_exists("TR_CURL_VERBOSE");
web->curl_ssl_verify = tr_env_key_exists("TR_CURL_SSL_VERIFY");
web->curl_ssl_verify = !tr_env_key_exists("TR_CURL_SSL_NO_VERIFY");
web->curl_ca_bundle = tr_env_get_string("CURL_CA_BUNDLE", NULL);
if (web->curl_ssl_verify)