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; }