Skip to content

Commit f54480b

Browse files
jcogs33RasmusWL
andcommitted
change matches to equality
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent 315ceb5 commit f54480b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/security/InsufficientKeySize.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private module Asymmetric {
3838
Sink() {
3939
exists(KeyPairGenInit kpgInit, KeyPairGen kpg |
4040
algoName in ["RSA", "DSA", "DH"] and
41-
kpg.getAlgoName().matches(algoName) and
41+
kpg.getAlgoName() = algoName and
4242
DataFlow::localExprFlow(kpg, kpgInit.getQualifier()) and
4343
this.asExpr() = kpgInit.getKeySizeArg()
4444
)

0 commit comments

Comments
 (0)