diff --git a/libtransmission/web.c b/libtransmission/web.c index 61d96486b..cca888b66 100644 --- a/libtransmission/web.c +++ b/libtransmission/web.c @@ -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)