Skip to content

Commit 61de308

Browse files
authored
Update pyOpenSSL stubs to 22.1.* (#8838)
1 parent 1cb5482 commit 61de308

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

stubs/pyOpenSSL/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "22.0.*"
1+
version = "22.1.*"
22
requires = ["types-cryptography"]

stubs/pyOpenSSL/OpenSSL/SSL.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ SSLEAY_BUILT_ON: int
1616
SENT_SHUTDOWN: int
1717
RECEIVED_SHUTDOWN: int
1818

19-
SSLv2_METHOD: int
20-
SSLv3_METHOD: int
2119
SSLv23_METHOD: int
2220
TLSv1_METHOD: int
2321
TLSv1_1_METHOD: int

stubs/pyOpenSSL/OpenSSL/crypto.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ class X509StoreContext:
143143
def verify_certificate(self) -> None: ...
144144

145145
class X509StoreContextError(Exception):
146+
errors: list[Any]
146147
certificate: X509
147-
def __init__(self, message: str | bytes, certificate: X509) -> None: ...
148+
def __init__(self, message: str, errors: list[Any], certificate: X509) -> None: ...
148149

149150
class X509StoreFlags:
150151
CRL_CHECK: int

0 commit comments

Comments
 (0)