From 75162bb9eb4efbd6617cca09483ea777db8338fc Mon Sep 17 00:00:00 2001 From: MarkLee131 Date: Wed, 29 Apr 2026 20:53:58 +0800 Subject: [PATCH] Update java/ql/test/query-tests/security/CWE-532/Test.java Co-authored-by: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> --- java/ql/test/query-tests/security/CWE-532/Test.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/test/query-tests/security/CWE-532/Test.java b/java/ql/test/query-tests/security/CWE-532/Test.java index a25becb89bb..cf1ca0aee68 100644 --- a/java/ql/test/query-tests/security/CWE-532/Test.java +++ b/java/ql/test/query-tests/security/CWE-532/Test.java @@ -28,7 +28,7 @@ class Test { logger.info("hash: " + hashPassword(password)); // Safe - hashed logger.info("hash: " + sha256Digest(authToken)); // Safe - digested logger.info("enc: " + encryptValue(password)); // Safe - encrypted - logger.info("pw: " + password); // $ Alert - not hashed + logger.info("pw: " + password); // $ Alert // not hashed } static String hashPassword(String input) { return input; }