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 de9469b commit d02c529Copy full SHA for d02c529
1 file changed
python/ql/test/query-tests/Security/CWE-327/ssl_fluent.py
@@ -186,7 +186,7 @@ def test_fluent_ssl_safe_version():
186
def test_fluent_explicitly_unsafe():
187
hostname = 'www.python.org'
188
context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
189
- context.options &= ~ssl.OP_NO_SSLv3 # This not recognized
+ context.options &= ~ssl.OP_NO_SSLv3
190
191
with socket.create_connection((hostname, 443)) as sock:
192
with context.wrap_socket(sock, server_hostname=hostname) as ssock: # SSLv3 not flagged here
0 commit comments