We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315ceb5 commit f54480bCopy full SHA for f54480b
java/ql/lib/semmle/code/java/security/InsufficientKeySize.qll
@@ -38,7 +38,7 @@ private module Asymmetric {
38
Sink() {
39
exists(KeyPairGenInit kpgInit, KeyPairGen kpg |
40
algoName in ["RSA", "DSA", "DH"] and
41
- kpg.getAlgoName().matches(algoName) and
+ kpg.getAlgoName() = algoName and
42
DataFlow::localExprFlow(kpg, kpgInit.getQualifier()) and
43
this.asExpr() = kpgInit.getKeySizeArg()
44
)
0 commit comments