Merge pull request #334 from xzcvczx/ssl-noverify
Change TR_CURL_SSL_VERIFY to TR_CURL_SSL_NO_VERIFY
This commit is contained in:
commit
3d21f39cd4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue