aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
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