Skip to content

Commit 9e0e1bd

Browse files
committed
Rust: Use Copilot suggested comment phrasing.
1 parent 8c24acc commit 9e0e1bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • rust/ql/test/query-tests/security/CWE-327/WeakSensitiveDataHashing

rust/ql/test/query-tests/security/CWE-327/WeakSensitiveDataHashing/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ impl Seed {
171171
}
172172

173173
fn test_seed() {
174-
// this will be misrecognized as a use of the SEED algorithm, but being a strong
175-
// algorithm and not sensitive data, there is no query result anyway.
174+
// this will be misrecognized as a use of the SEED algorithm, but SEED is strong and the input
175+
// is not sensitive data, so `rust/weak-sensitive-data-hashing` should not report a result here.
176176
let _ = Seed::new(0); // $ Alert[rust/summary/cryptographic-operations]
177177
}
178178

0 commit comments

Comments
 (0)