audit: warn about correct empty checksum type
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
5ab0488918
commit
b63584a386
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user