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:
parent
064c52efc4
commit
0e766d00a5
@ -85,7 +85,7 @@ class DevelopmentTools
|
|||||||
def curl_handles_most_https_certificates?
|
def curl_handles_most_https_certificates?
|
||||||
# The system Curl is too old for some modern HTTPS certificates on
|
# The system Curl is too old for some modern HTTPS certificates on
|
||||||
# older macOS versions.
|
# older macOS versions.
|
||||||
!ENV["HOMEBREW_SYSTEM_CURL_TOO_OLD"].nil?
|
ENV["HOMEBREW_SYSTEM_CURL_TOO_OLD"].nil?
|
||||||
end
|
end
|
||||||
|
|
||||||
def subversion_handles_most_https_certificates?
|
def subversion_handles_most_https_certificates?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user