mirror of
https://github.com/github/codeql.git
synced 2026-03-27 09:48:16 +01:00
change matches to equality
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@ private module Asymmetric {
|
||||
Sink() {
|
||||
exists(KeyPairGenInit kpgInit, KeyPairGen kpg |
|
||||
algoName in ["RSA", "DSA", "DH"] and
|
||||
kpg.getAlgoName().matches(algoName) and
|
||||
kpg.getAlgoName() = algoName and
|
||||
DataFlow::localExprFlow(kpg, kpgInit.getQualifier()) and
|
||||
this.asExpr() = kpgInit.getKeySizeArg()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user