Skip to content

Commit 7ddfcb2

Browse files
committed
Swift: Rename DefaultConstantPasswordSink -> CryptoSwiftPasswordSink.
1 parent d4cc86c commit 7ddfcb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/ql/lib/codeql/swift/security/ConstantPasswordExtensions.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class ConstantPasswordAdditionalTaintStep extends Unit {
3232
/**
3333
* A password sink for the CryptoSwift library.
3434
*/
35-
private class DefaultConstantPasswordSink extends ConstantPasswordSink {
36-
DefaultConstantPasswordSink() {
35+
private class CryptoSwiftPasswordSink extends ConstantPasswordSink {
36+
CryptoSwiftPasswordSink() {
3737
// `password` arg in `init` is a sink
3838
exists(ClassOrStructDecl c, ConstructorDecl f, CallExpr call |
3939
c.getName() = ["HKDF", "PBKDF1", "PBKDF2", "Scrypt"] and

0 commit comments

Comments
 (0)