mirror of
https://github.com/github/codeql.git
synced 2026-04-21 06:55:31 +02:00
15 lines
450 B
Plaintext
15 lines
450 B
Plaintext
import java
|
|
import TestUtilities.InlineExpectationsTest
|
|
import TestUtilities.InlineFlowTest
|
|
import semmle.code.java.security.RsaWithoutOaepQuery
|
|
|
|
class EnableLegacy extends EnableLegacyConfiguration {
|
|
EnableLegacy() { exists(this) }
|
|
}
|
|
|
|
class HasFlowTest extends InlineFlowTest {
|
|
override DataFlow::Configuration getTaintFlowConfig() { result instanceof RsaWithoutOaepConfig }
|
|
|
|
override DataFlow::Configuration getValueFlowConfig() { none() }
|
|
}
|