We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c24acc commit 9e0e1bdCopy full SHA for 9e0e1bd
1 file changed
rust/ql/test/query-tests/security/CWE-327/WeakSensitiveDataHashing/test.rs
@@ -171,8 +171,8 @@ impl Seed {
171
}
172
173
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.
+ // this will be misrecognized as a use of the SEED algorithm, but SEED is strong and the input
+ // is not sensitive data, so `rust/weak-sensitive-data-hashing` should not report a result here.
176
let _ = Seed::new(0); // $ Alert[rust/summary/cryptographic-operations]
177
178
0 commit comments