Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1619f1 commit e936540Copy full SHA for e936540
1 file changed
python/ql/src/Security/CWE-327/Ssl.qll
@@ -1,6 +1,5 @@
1
import python
2
import semmle.python.ApiGraphs
3
-import semmle.python.dataflow.new.internal.Attributes as Attributes
4
import TlsLibraryModel
5
6
class SSLContextCreation extends ContextCreation {
@@ -104,7 +103,7 @@ class ContextSetVersion extends ProtocolRestriction, ProtocolUnrestriction {
104
103
ProtocolVersion restriction;
105
106
ContextSetVersion() {
107
- exists(Attributes::AttrWrite aw |
+ exists(DataFlow::AttrWrite aw |
108
aw.getObject().asCfgNode() = node and
109
aw.getAttributeName() = "minimum_version" and
110
aw.getValue() =
0 commit comments