Skip to content

Commit a113b8e

Browse files
committed
No need for singleton set
1 parent f6dc9e2 commit a113b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/src/experimental/CWE-327/CryptoLibraries.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class Des extends CryptographicOperation, DataFlow::CallNode {
203203
* Models cryptographic operations of the `crypto/rc4` package.
204204
*/
205205
class Rc4 extends CryptographicOperation, DataFlow::CallNode {
206-
Rc4() { this.getTarget().hasQualifiedName("crypto/rc4", ["NewCipher"]) }
206+
Rc4() { this.getTarget().hasQualifiedName("crypto/rc4", "NewCipher") }
207207

208208
override Expr getInput() { result = this.getArgument(0).asExpr() }
209209

0 commit comments

Comments
 (0)