Merge pull request #20348 from osalbahr/skip-https-audit-for-curl-deps

utils/curl.rb: Skip https audit for curl dependencies
This commit is contained in:
Patrick Linnane 2025-08-01 17:29:57 +00:00 committed by GitHub
commit ce237901a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,7 +151,8 @@ module Homebrew
raise HomebrewCurlDownloadStrategyError, url if
strategy <= HomebrewCurlDownloadStrategy && !Formula["curl"].any_version_installed?
if (http_content_problem = curl_check_http_content(
# Skip https audit for curl dependencies
if !curl_dep && (http_content_problem = curl_check_http_content(
url,
"source URL",
specs:,