X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=http-fetch.c;h=4e564fc4532e0a6665eae9e0586a59cba08c668c;hb=22c67ca88ec65c4f278e8c82b2d98f3bd025238b;hp=df99ba7cfd4302059e2b7fad6a4373cc47bce8b4;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/http-fetch.c b/http-fetch.c index df99ba7c..4e564fc4 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -355,7 +355,7 @@ int main(int argc, char **argv) curl = curl_easy_init(); - curl_ssl_verify = gitenv("GIT_SSL_NO_VERIFY") ? 0 : 1; + curl_ssl_verify = getenv("GIT_SSL_NO_VERIFY") ? 0 : 1; curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, curl_ssl_verify); #if LIBCURL_VERSION_NUM >= 0x070907 curl_easy_setopt(curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL);