brew-audit: recommend SHA1 over MD5.
This commit is contained in:
parent
a22e60ee8c
commit
0b3327b862
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user