File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
swift/ql/src/queries/Security/ECB-Encryption Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ class Blowfish extends BlockMode {
56
56
* A taint configuration from the constructor of ECB mode to expressions that use
57
57
* it to initialize a cipher.
58
58
*/
59
- class ECBEncryptionConfig extends DataFlow:: Configuration {
60
- ECBEncryptionConfig ( ) { this = "ECBEncryptionConfig " }
59
+ class EcbEncryptionConfig extends DataFlow:: Configuration {
60
+ EcbEncryptionConfig ( ) { this = "EcbEncryptionConfig " }
61
61
62
62
override predicate isSource ( DataFlow:: Node node ) {
63
63
exists ( StructDecl s , AbstractFunctionDecl f , CallExpr call |
@@ -73,7 +73,7 @@ class ECBEncryptionConfig extends DataFlow::Configuration {
73
73
}
74
74
75
75
// The query itself
76
- from ECBEncryptionConfig config , DataFlow:: PathNode sourceNode , DataFlow:: PathNode sinkNode
76
+ from EcbEncryptionConfig config , DataFlow:: PathNode sourceNode , DataFlow:: PathNode sinkNode
77
77
where config .hasFlowPath ( sourceNode , sinkNode )
78
78
select sinkNode .getNode ( ) , sourceNode , sinkNode ,
79
79
"The initialization of the cipher '" + sinkNode .getNode ( ) .toString ( ) +
You can’t perform that action at this time.
0 commit comments