Skip to content
Snippets Groups Projects
Commit 0b3327b8 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

brew-audit: recommend SHA1 over MD5.

parent a22e60ee
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment