No need for singleton set

This commit is contained in:
Owen Mansel-Chan
2023-02-17 14:40:40 +00:00
parent f6dc9e2a35
commit a113b8e8a4

View File

@@ -203,7 +203,7 @@ class Des extends CryptographicOperation, DataFlow::CallNode {
* Models cryptographic operations of the `crypto/rc4` package.
*/
class Rc4 extends CryptographicOperation, DataFlow::CallNode {
Rc4() { this.getTarget().hasQualifiedName("crypto/rc4", ["NewCipher"]) }
Rc4() { this.getTarget().hasQualifiedName("crypto/rc4", "NewCipher") }
override Expr getInput() { result = this.getArgument(0).asExpr() }