development_tools: fix curl https handling.

`curl` can handle modern certificates _unless_ it is too old. This
broke `brew audit`'s HTTPS detection code.
This commit is contained in:
Mike McQuaid 2017-09-22 16:02:09 +01:00
parent 064c52efc4
commit 0e766d00a5

View File

@ -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?