diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 8244d40aac..b0efe040f5 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