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 4678302 commit 6e70e6cCopy full SHA for 6e70e6c
java/ql/lib/semmle/code/java/security/WeakRandomnessQuery.qll
@@ -30,9 +30,8 @@ private class RandomMethodSource extends WeakRandomnessSource {
30
*/
31
abstract private class SafeRandomImplementation extends RefType { }
32
33
-private class TypeSecureRandom extends SafeRandomImplementation {
34
- TypeSecureRandom() { this.hasQualifiedName("java.security", "SecureRandom") }
35
-}
+private class TypeSecureRandom extends SafeRandomImplementation instanceof SecureRandomNumberGenerator
+{ }
36
37
private class TypeHadoopOsSecureRandom extends SafeRandomImplementation {
38
TypeHadoopOsSecureRandom() {
0 commit comments