Skip to content

Commit ab25042

Browse files
authored
Add pyOpenSSL 21 constants (#6273)
1 parent 2679ed1 commit ab25042

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

stubs/pyOpenSSL/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = "20.0.*"
1+
version = "21.0.*"
22
python2 = true
33
requires = ["types-cryptography"]

stubs/pyOpenSSL/OpenSSL/SSL.pyi

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@ TLSv1_METHOD: int
2020
TLSv1_1_METHOD: int
2121
TLSv1_2_METHOD: int
2222

23-
# To be added in pyOpenSSL 21
24-
25-
# TLS_METHOD: int
26-
# TLS_SERVER_METHOD: int
27-
# TLS_CLIENT_METHOD: int
28-
29-
# SSL3_VERSION: int
30-
# TLS1_VERSION: int
31-
# TLS1_1_VERSION: int
32-
# TLS1_2_VERSION: int
33-
# TLS1_3_VERSION: int
23+
TLS_METHOD: int
24+
TLS_SERVER_METHOD: int
25+
TLS_CLIENT_METHOD: int
26+
27+
SSL3_VERSION: int
28+
TLS1_VERSION: int
29+
TLS1_1_VERSION: int
30+
TLS1_2_VERSION: int
31+
TLS1_3_VERSION: int
3432

3533
OP_NO_SSLv2: int
3634
OP_NO_SSLv3: int

0 commit comments

Comments
 (0)