File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
java/ql/lib/semmle/code/java/security Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -157,12 +157,18 @@ private class AsymmetricKeyGenerator extends AlgoGeneratorObject {
157
157
this instanceof JavaSecurityAlgoParamGenerator
158
158
}
159
159
160
- override Expr getAlgoSpec ( ) { result = this .getAlgoSpec ( ) }
160
+ override Expr getAlgoSpec ( ) {
161
+ result =
162
+ [
163
+ this .( JavaSecurityKeyPairGenerator ) .getAlgoSpec ( ) ,
164
+ this .( JavaSecurityAlgoParamGenerator ) .getAlgoSpec ( )
165
+ ]
166
+ }
161
167
}
162
168
163
169
/** An instance of a `javax.crypto.KeyGenerator`. */
164
170
private class SymmetricKeyGenerator extends AlgoGeneratorObject instanceof JavaxCryptoKeyGenerator {
165
- override Expr getAlgoSpec ( ) { result = this .getAlgoSpec ( ) }
171
+ override Expr getAlgoSpec ( ) { result = JavaxCryptoKeyGenerator . super .getAlgoSpec ( ) }
166
172
}
167
173
168
174
/** An instance of an algorithm specification. */
You can’t perform that action at this time.
0 commit comments