brew-audit: recommend SHA1 over MD5.

This commit is contained in:
Mike McQuaid 2012-09-02 01:25:36 -07:00
parent a22e60ee8c
commit 0b3327b862

View File

@ -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