Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e936540

Browse files
committed
Python: remove internal import
1 parent f1619f1 commit e936540

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • python/ql/src/Security/CWE-327

python/ql/src/Security/CWE-327/Ssl.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import python
22
import semmle.python.ApiGraphs
3-
import semmle.python.dataflow.new.internal.Attributes as Attributes
43
import TlsLibraryModel
54

65
class SSLContextCreation extends ContextCreation {
@@ -104,7 +103,7 @@ class ContextSetVersion extends ProtocolRestriction, ProtocolUnrestriction {
104103
ProtocolVersion restriction;
105104

106105
ContextSetVersion() {
107-
exists(Attributes::AttrWrite aw |
106+
exists(DataFlow::AttrWrite aw |
108107
aw.getObject().asCfgNode() = node and
109108
aw.getAttributeName() = "minimum_version" and
110109
aw.getValue() =

0 commit comments

Comments
 (0)