Add ssl.PROTOCOL_TLS for Python 2.7 (#3855)

This commit is contained in:
Florimond Manca authored and GitHub committed 2020-03-24 00:12:32 +01:00
1 parent 56d557bbcd
commit efe23f8cc1
1 file changed
+1 -2
+1 -2
View File
@@ -134,8 +134,7 @@ PROTOCOL_SSLv3: int
PROTOCOL_TLSv1: int
PROTOCOL_TLSv1_1: int
PROTOCOL_TLSv1_2: int
if sys.version_info >= (3, 5):
PROTOCOL_TLS: int
PROTOCOL_TLS: int
if sys.version_info >= (3, 6):
PROTOCOL_TLS_CLIENT: int
PROTOCOL_TLS_SERVER: int