From d63b2fa40f7f2042c80b1da676667145ca6a1a3c Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Wed, 7 Jan 2015 15:52:06 -0800 Subject: [PATCH] Don't skip the certificate checking in lein.bat, geeeeeeeeez. Fixes #1733. --- bin/lein.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/lein.bat b/bin/lein.bat index 08185e33..5392cefa 100755 --- a/bin/lein.bat +++ b/bin/lein.bat @@ -143,7 +143,7 @@ if NOT "x%HTTP_CLIENT%" == "x" ( ) call wget --help >nul 2>&1 if NOT ERRORLEVEL 1 ( - call wget --no-check-certificate -O %1 %2 + call wget -O %1 %2 goto EOF ) call curl --help >nul 2>&1 @@ -151,7 +151,7 @@ if NOT ERRORLEVEL 1 ( rem We set CURL_PROXY to a space character below to pose as a no-op argument set CURL_PROXY= if NOT "x%HTTPS_PROXY%" == "x" set CURL_PROXY="-x %HTTPS_PROXY%" - call curl %CURL_PROXY% --insecure -f -L -o %1 %2 + call curl %CURL_PROXY% -f -L -o %1 %2 goto EOF ) call powershell -? >nul 2>&1