mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Cleanup: disjunction -> set literal
This commit is contained in:
@@ -90,19 +90,10 @@ class TlsInsecureCipherSuitesFlowConfig extends TaintTracking::Configuration {
|
||||
predicate isSourceValueEntity(DataFlow::Node source, string suiteName) {
|
||||
exists(DataFlow::ValueEntity val |
|
||||
val.hasQualifiedName("crypto/tls", suiteName) and
|
||||
(
|
||||
suiteName = "TLS_RSA_WITH_RC4_128_SHA"
|
||||
or
|
||||
suiteName = "TLS_RSA_WITH_AES_128_CBC_SHA256"
|
||||
or
|
||||
suiteName = "TLS_ECDHE_ECDSA_WITH_RC4_128_SHA"
|
||||
or
|
||||
suiteName = "TLS_ECDHE_RSA_WITH_RC4_128_SHA"
|
||||
or
|
||||
suiteName = "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
|
||||
or
|
||||
suiteName = "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
|
||||
)
|
||||
suiteName =
|
||||
["TLS_RSA_WITH_RC4_128_SHA", "TLS_RSA_WITH_AES_128_CBC_SHA256",
|
||||
"TLS_ECDHE_ECDSA_WITH_RC4_128_SHA", "TLS_ECDHE_RSA_WITH_RC4_128_SHA",
|
||||
"TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"]
|
||||
|
|
||||
source = val.getARead()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user