Skip to content

Commit bb4322c

Browse files
committed
Rust: Make a type more accurate.
1 parent c115169 commit bb4322c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/ql/lib/codeql/rust/security/WeakSensitiveDataHashingExtensions.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class ModelledHashOperation extends Cryptography::CryptographicOperation::Range
191191

192192
override DataFlow::Node getInitialization() { result = this }
193193

194-
override Cryptography::CryptographicAlgorithm getAlgorithm() { result.matchesName(algorithmName) }
194+
override Cryptography::HashingAlgorithm getAlgorithm() { result.matchesName(algorithmName) }
195195

196196
override DataFlow::Node getAnInput() { result = input }
197197

0 commit comments

Comments
 (0)