aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/checksum.rb
diff options
context:
space:
mode:
authorXu Cheng2016-03-20 14:03:28 +0800
committerXu Cheng2016-03-20 14:55:58 +0800
commitbd7e8543b3fba04a914f8f8c583652d6970d51db (patch)
tree093840f1a433792f3231f32b9f6d6bf9d428b11a /Library/Homebrew/checksum.rb
parent93cbab0021676010f195c8629d79fefdb00a2d40 (diff)
downloadbrew-bd7e8543b3fba04a914f8f8c583652d6970d51db.tar.bz2
deprecate SHA1
Diffstat (limited to 'Library/Homebrew/checksum.rb')
-rw-r--r--Library/Homebrew/checksum.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/checksum.rb b/Library/Homebrew/checksum.rb
index a4e38e0ad..1197609b1 100644
--- a/Library/Homebrew/checksum.rb
+++ b/Library/Homebrew/checksum.rb
@@ -2,7 +2,7 @@ class Checksum
attr_reader :hash_type, :hexdigest
alias_method :to_s, :hexdigest
- TYPES = [:sha1, :sha256]
+ TYPES = [:sha256]
def initialize(hash_type, hexdigest)
@hash_type = hash_type