mirror of
https://github.com/github/codeql.git
synced 2026-06-18 19:31:11 +02:00
clean up code
This commit is contained in:
@@ -16,9 +16,6 @@ import semmle.code.java.security.InsufficientKeySizeQuery
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where exists(KeySizeConfiguration config1 | config1.hasFlowPath(source, sink))
|
||||
//or
|
||||
// exists(AsymmetricNonECKeyTrackingConfiguration cfg | cfg.hasFlowPath(source, sink)) or
|
||||
// exists(AsymmetricECKeyTrackingConfiguration cfg | cfg.hasFlowPath(source, sink)) or
|
||||
// exists(SymmetricKeyTrackingConfiguration cfg | cfg.hasFlowPath(source, sink))
|
||||
select sink.getNode(), source, sink, "This $@ is too small.", source.getNode(), "key size"
|
||||
where exists(KeySizeConfiguration cfg | cfg.hasFlowPath(source, sink))
|
||||
select sink.getNode(), source, sink, "This $@ is less than the recommended key size.",
|
||||
source.getNode(), "key size"
|
||||
|
||||
Reference in New Issue
Block a user