From 29182ad0682430f34f65947a38da58dd712efd46 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 1 Aug 2018 01:59:54 +0200 Subject: [PATCH] Remove non-existent download strategies. --- Library/Homebrew/dev-cmd/audit.rb | 8 -------- Library/Homebrew/download_strategy.rb | 1 - 2 files changed, 9 deletions(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 4de5bcf199..a0104244a8 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -982,14 +982,6 @@ module Homebrew return unless using - if using == :ssl3 || \ - (Object.const_defined?("CurlSSL3DownloadStrategy") && using == CurlSSL3DownloadStrategy) - problem "The SSL3 download strategy is deprecated, please choose a different URL" - elsif (Object.const_defined?("CurlUnsafeDownloadStrategy") && using == CurlUnsafeDownloadStrategy) || \ - (Object.const_defined?("UnsafeSubversionDownloadStrategy") && using == UnsafeSubversionDownloadStrategy) - problem "#{using.name} is deprecated, please choose a different URL" - end - if using == :cvs mod = specs[:module] diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 928e1172d9..9ad468738c 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -1136,7 +1136,6 @@ class DownloadStrategyDetector when :bzr then BazaarDownloadStrategy when :svn then SubversionDownloadStrategy when :curl then CurlDownloadStrategy - when :ssl3 then CurlSSL3DownloadStrategy when :cvs then CVSDownloadStrategy when :post then CurlPostDownloadStrategy when :fossil then FossilDownloadStrategy