aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-06-15 21:32:15 -0400
committerJack Nagel2015-06-15 21:32:15 -0400
commit321476df08b1e6e503d4628af8b1f76d1d87ec9d (patch)
treec8c4729c9c4d2e37e98bb2d1981570ce2894175a
parent023bddbd046c7dce0f9e56344f9fb5e258e0f59f (diff)
downloadbrew-321476df08b1e6e503d4628af8b1f76d1d87ec9d.tar.bz2
Make CurlUnsafeDownloadStrategy a no-op
-rw-r--r--Library/Homebrew/download_strategy.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 12807fab7..b51c4cc29 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -403,11 +403,7 @@ class NoUnzipCurlDownloadStrategy < CurlDownloadStrategy
end
# @deprecated
-class CurlUnsafeDownloadStrategy < CurlDownloadStrategy
- def _fetch
- curl @url, '--insecure', '-C', downloaded_size, '-o', temporary_path
- end
-end
+CurlUnsafeDownloadStrategy = CurlDownloadStrategy
# This strategy extracts our binary packages.
class CurlBottleDownloadStrategy < CurlDownloadStrategy