Skip to content

Commit 51f3f15

Browse files
committed
Ruby: remove outdated test comment
1 parent d79a253 commit 51f3f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/test/query-tests/security/cwe-327/weak_hashing.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
def get_safe_data()
1616
return "hello"
1717
end
18+
1819
def get_password()
1920
return "changeme"
2021
end
2122

22-
# FIXME
2323
Digest::MD5.hexdigest(get_safe_data()) # OK: input is not sensitive
2424
Digest::MD5.hexdigest(get_password()) # BAD: weak hash function used for sensitive data
2525

0 commit comments

Comments
 (0)