mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Remove redundant constraint
This commit is contained in:
@@ -78,7 +78,6 @@ class TlsVersionFlowConfig extends TaintTracking::Configuration {
|
||||
*/
|
||||
predicate isSink(DataFlow::Node sink, Field fld, DataFlow::Node base, Write fieldWrite) {
|
||||
fld.hasQualifiedName("crypto/tls", "Config", ["MinVersion", "MaxVersion"]) and
|
||||
fieldWrite = fld.getAWrite() and
|
||||
fieldWrite.writesField(base, fld, sink)
|
||||
}
|
||||
|
||||
@@ -207,7 +206,6 @@ class TlsInsecureCipherSuitesFlowConfig extends TaintTracking::Configuration {
|
||||
*/
|
||||
predicate isSink(DataFlow::Node sink, Field fld, DataFlow::Node base, Write fieldWrite) {
|
||||
fld.hasQualifiedName("crypto/tls", "Config", "CipherSuites") and
|
||||
fieldWrite = fld.getAWrite() and
|
||||
fieldWrite.writesField(base, fld, sink)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user