mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Use pre-exisiting type for SecureRandom
This commit is contained in:
@@ -30,9 +30,8 @@ private class RandomMethodSource extends WeakRandomnessSource {
|
||||
*/
|
||||
abstract private class SafeRandomImplementation extends RefType { }
|
||||
|
||||
private class TypeSecureRandom extends SafeRandomImplementation {
|
||||
TypeSecureRandom() { this.hasQualifiedName("java.security", "SecureRandom") }
|
||||
}
|
||||
private class TypeSecureRandom extends SafeRandomImplementation instanceof SecureRandomNumberGenerator
|
||||
{ }
|
||||
|
||||
private class TypeHadoopOsSecureRandom extends SafeRandomImplementation {
|
||||
TypeHadoopOsSecureRandom() {
|
||||
|
||||
Reference in New Issue
Block a user