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 {
157157 this instanceof JavaSecurityAlgoParamGenerator
158158 }
159159
160- override Expr getAlgoSpec ( ) { result = this .getAlgoSpec ( ) }
160+ override Expr getAlgoSpec ( ) {
161+ result =
162+ [
163+ this .( JavaSecurityKeyPairGenerator ) .getAlgoSpec ( ) ,
164+ this .( JavaSecurityAlgoParamGenerator ) .getAlgoSpec ( )
165+ ]
166+ }
161167}
162168
163169/** An instance of a `javax.crypto.KeyGenerator`. */
164170private class SymmetricKeyGenerator extends AlgoGeneratorObject instanceof JavaxCryptoKeyGenerator {
165- override Expr getAlgoSpec ( ) { result = this .getAlgoSpec ( ) }
171+ override Expr getAlgoSpec ( ) { result = JavaxCryptoKeyGenerator . super .getAlgoSpec ( ) }
166172}
167173
168174/** An instance of an algorithm specification. */
You can’t perform that action at this time.
0 commit comments