diff options
| author | Mike McQuaid | 2012-09-02 01:25:36 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2012-09-03 11:20:07 -0700 |
| commit | 0b3327b862bc4404a7cf2dd1ff2549346e5068fb (patch) | |
| tree | 09ec5623b9a4181cce6ca04c1b37e02992ba5530 /Library/Homebrew | |
| parent | a22e60ee8c06f3be3256a71bbd65f8462d258876 (diff) | |
| download | brew-0b3327b862bc4404a7cf2dd1ff2549346e5068fb.tar.bz2 | |
brew-audit: recommend SHA1 over MD5.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 8244d40aa..b0efe040f 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -233,6 +233,8 @@ class FormulaAuditor when :sha256 then 64 end + problem "md5 is broken, deprecated: use sha1 instead" if cksum.hash_type == :md5 + if cksum.empty? problem "#{cksum.hash_type} is empty" else |
