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 078fbcc commit dcf8c88Copy full SHA for dcf8c88
1 file changed
python/ql/src/Security/CWE-327/examples/secure_default_protocol.py
@@ -6,4 +6,4 @@
6
7
# Declaring a minimum version to restrict the protocol
8
context = ssl.create_default_context()
9
-context.minimum_version(ssl.TLSVersion.TLSv1_2)
+context.minimum_version = ssl.TLSVersion.TLSv1_2
0 commit comments