audit: warn about correct empty checksum type

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-02-15 23:02:32 -06:00
parent 5ab0488918
commit b63584a386

View File

@ -76,7 +76,7 @@ def audit_formula_text name, text
# Empty checksums
if text =~ /(md5|sha1|sha256)\s+(''|"")/
problems << " * md5 is empty"
problems << " * #{$1} is empty"
end
# Checksum sanity check