mirror of
https://github.com/github/codeql.git
synced 2025-12-24 20:56:33 +01:00
Update test to use MaybeBrokenCryptoAlgorithm
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import java
|
||||
import semmle.code.java.dataflow.DataFlow
|
||||
import semmle.code.java.security.WeakHashingAlgorithmPropertyQuery
|
||||
import semmle.code.java.security.MaybeBrokenCryptoAlgorithmQuery
|
||||
|
||||
query predicate weakAlgorithmUse(DataFlow::Node sink) {
|
||||
exists(DataFlow::Node source | InsecureAlgorithmPropertyFlow::flow(source, sink))
|
||||
exists(DataFlow::Node source | InsecureCryptoFlow::flow(source, sink))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user