mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Ruby: remove outdated test comment
This commit is contained in:
@@ -15,11 +15,11 @@ Digest::MD5.hexdigest(x) # BAD: weak hash function used for sensitive data
|
||||
def get_safe_data()
|
||||
return "hello"
|
||||
end
|
||||
|
||||
def get_password()
|
||||
return "changeme"
|
||||
end
|
||||
|
||||
# FIXME
|
||||
Digest::MD5.hexdigest(get_safe_data()) # OK: input is not sensitive
|
||||
Digest::MD5.hexdigest(get_password()) # BAD: weak hash function used for sensitive data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user