mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Python: correct mistake in example
This commit is contained in:
@@ -6,4 +6,4 @@ context.options |= ssl.OP_NO_TLSv1 | ssl.OP_NO_TLSv1_1
|
|||||||
|
|
||||||
# Declaring a minimum version to restrict the protocol
|
# Declaring a minimum version to restrict the protocol
|
||||||
context = ssl.create_default_context()
|
context = ssl.create_default_context()
|
||||||
context.minimum_version(ssl.TLSVersion.TLSv1_2)
|
context.minimum_version = ssl.TLSVersion.TLSv1_2
|
||||||
|
|||||||
Reference in New Issue
Block a user