Skip to content

Commit 47030df

Browse files
Jami CogswellJami Cogswell
authored andcommitted
remove commented-out 3 configs
1 parent 6eb58d8 commit 47030df

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

java/ql/lib/semmle/code/java/security/InsufficientKeySizeQuery.qll

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,9 @@ class KeySizeConfiguration extends DataFlow::Configuration {
1414

1515
override predicate isSource(DataFlow::Node source, DataFlow::FlowState state) {
1616
source.(InsufficientKeySizeSource).hasState(state)
17-
//source instanceof InsufficientKeySizeSource
1817
}
1918

2019
override predicate isSink(DataFlow::Node sink, DataFlow::FlowState state) {
2120
sink.(InsufficientKeySizeSink).hasState(state)
22-
//sink instanceof InsufficientKeySizeSink
2321
}
2422
}
25-
// /**
26-
// * A data flow configuration for tracking non-elliptic curve asymmetric algorithm
27-
// * (RSA, DSA, and DH) key sizes.
28-
// */
29-
// class AsymmetricNonECKeyTrackingConfiguration extends DataFlow::Configuration {
30-
// AsymmetricNonECKeyTrackingConfiguration() { this = "AsymmetricNonECKeyTrackingConfiguration" }
31-
// override predicate isSource(DataFlow::Node source) { source instanceof AsymmetricNonECSource }
32-
// override predicate isSink(DataFlow::Node sink) { sink instanceof AsymmetricNonECSink }
33-
// }
34-
// /**
35-
// * A data flow configuration for tracking elliptic curve (EC) asymmetric
36-
// * algorithm key sizes.
37-
// */
38-
// class AsymmetricECKeyTrackingConfiguration extends DataFlow::Configuration {
39-
// AsymmetricECKeyTrackingConfiguration() { this = "AsymmetricECKeyTrackingConfiguration" }
40-
// override predicate isSource(DataFlow::Node source) { source instanceof AsymmetricECSource }
41-
// override predicate isSink(DataFlow::Node sink) { sink instanceof AsymmetricECSink }
42-
// }
43-
// /** A data flow configuration for tracking symmetric algorithm (AES) key sizes. */
44-
// class SymmetricKeyTrackingConfiguration extends DataFlow::Configuration {
45-
// SymmetricKeyTrackingConfiguration() { this = "SymmetricKeyTrackingConfiguration" }
46-
// override predicate isSource(DataFlow::Node source) { source instanceof SymmetricSource }
47-
// override predicate isSink(DataFlow::Node sink) { sink instanceof SymmetricSink }
48-
// }

0 commit comments

Comments
 (0)