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
|
when :sha256 then 64
|
||||||
end
|
end
|
||||||
|
|
||||||
|
problem "md5 is broken, deprecated: use sha1 instead" if cksum.hash_type == :md5
|
||||||
|
|
||||||
if cksum.empty?
|
if cksum.empty?
|
||||||
problem "#{cksum.hash_type} is empty"
|
problem "#{cksum.hash_type} is empty"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user