Skip to content

Commit 8d1e7da

Browse files
RasmusWLyoff
andauthored
Python: Apply suggestions from code review
Co-authored-by: yoff <[email protected]>
1 parent 60da193 commit 8d1e7da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/semmle/python/security/dataflow/WeakSensitiveDataHashingCustomizations.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ module ComputationallyExpensiveHashFunction {
140140
algorithm instanceof Cryptography::PasswordHashingAlgorithm and
141141
algorithm.isWeak()
142142
or
143-
algorithm instanceof Cryptography::HashingAlgorithm
143+
algorithm instanceof Cryptography::HashingAlgorithm // Note that HashingAlgorithm and PasswordHashingAlgorithm are disjoint
144144
) and
145145
exists(Cryptography::CryptographicOperation operation |
146146
algorithm = operation.getAlgorithm() and

0 commit comments

Comments
 (0)