Skip to content

Commit f060f05

Browse files
rename ECBEncryption to please the codeql formatter
1 parent fe024ef commit f060f05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

swift/ql/src/queries/Security/ECB-Encryption/ECBEncryption.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ class Blowfish extends BlockMode {
5656
* A taint configuration from the constructor of ECB mode to expressions that use
5757
* it to initialize a cipher.
5858
*/
59-
class ECBEncryptionConfig extends DataFlow::Configuration {
60-
ECBEncryptionConfig() { this = "ECBEncryptionConfig" }
59+
class EcbEncryptionConfig extends DataFlow::Configuration {
60+
EcbEncryptionConfig() { this = "EcbEncryptionConfig" }
6161

6262
override predicate isSource(DataFlow::Node node) {
6363
exists(StructDecl s, AbstractFunctionDecl f, CallExpr call |
@@ -73,7 +73,7 @@ class ECBEncryptionConfig extends DataFlow::Configuration {
7373
}
7474

7575
// The query itself
76-
from ECBEncryptionConfig config, DataFlow::PathNode sourceNode, DataFlow::PathNode sinkNode
76+
from EcbEncryptionConfig config, DataFlow::PathNode sourceNode, DataFlow::PathNode sinkNode
7777
where config.hasFlowPath(sourceNode, sinkNode)
7878
select sinkNode.getNode(), sourceNode, sinkNode,
7979
"The initialization of the cipher '" + sinkNode.getNode().toString() +

0 commit comments

Comments
 (0)