From: Simon Wells Date: Sun, 16 Jul 2017 17:28:13 +0000 (+1200) Subject: Change TR_CURL_SSL_VERIFY to TR_CURL_SSL_NO_VERIFY X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44411d719c0bd6c17a794ab03eb8148f20a79b81;p=transmission Change TR_CURL_SSL_VERIFY to TR_CURL_SSL_NO_VERIFY use secure by default and change the env var to match curl -k behaviour Closes: #179 --- 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)