aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2017-09-22 16:02:09 +0100
committerMike McQuaid2017-09-22 16:02:09 +0100
commit0e766d00a5dd89e25a523e2018f03e5487bef183 (patch)
tree89c767084233d9947e5e5e766bfb62cc083f13f2
parent064c52efc4bd4c8520b27a6415c138e97bdf4e2e (diff)
downloadbrew-0e766d00a5dd89e25a523e2018f03e5487bef183.tar.bz2
development_tools: fix curl https handling.
`curl` can handle modern certificates _unless_ it is too old. This broke `brew audit`'s HTTPS detection code.
-rw-r--r--Library/Homebrew/extend/os/mac/development_tools.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/os/mac/development_tools.rb b/Library/Homebrew/extend/os/mac/development_tools.rb
index 66b3bf9d2..b0d78f45b 100644
--- a/Library/Homebrew/extend/os/mac/development_tools.rb
+++ b/Library/Homebrew/extend/os/mac/development_tools.rb
@@ -85,7 +85,7 @@ class DevelopmentTools
def curl_handles_most_https_certificates?
# The system Curl is too old for some modern HTTPS certificates on
# older macOS versions.
- !ENV["HOMEBREW_SYSTEM_CURL_TOO_OLD"].nil?
+ ENV["HOMEBREW_SYSTEM_CURL_TOO_OLD"].nil?
end
def subversion_handles_most_https_certificates?