mirror of
https://github.com/github/codeql.git
synced 2026-01-01 00:27:24 +01:00
8 lines
127 B
Python
8 lines
127 B
Python
import ssl
|
|
|
|
# secure versions
|
|
ssl.wrap_socket(ssl_version=ssl.PROTOCOL_TLSv1_2)
|
|
|
|
# possibly insecure default
|
|
ssl.wrap_socket()
|