Update pyOpenSSL to 23.1.* (#9939)

Release: https://pypi.org/pypi/pyOpenSSL/23.1.0
Homepage: https://pyopenssl.org/
Diff: https://github.com/pyca/pyopenssl/compare/23.0.0...23.1.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 122.
 - Total lines of Python code deleted: 45.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
github-actions[bot]
2023-03-25 00:49:23 +00:00
committed by GitHub
parent 0bb57fcbc6
commit 65f188442c
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
version = "23.0.*"
version = "23.1.*"
# Requires a version of cryptography with a `py.typed` file
requires = ["cryptography>=35.0.0"]

View File

@@ -131,6 +131,9 @@ class Connection:
def connect(self, addr: str | bytes | Sequence[str | int]) -> None: ...
def connect_ex(self, addr: _Address | bytes) -> int: ...
def accept(self) -> tuple[Connection, _RetAddress]: ...
def DTLSv1_listen(self) -> None: ...
def DTLSv1_get_timeout(self) -> float | None: ...
def DTLSv1_handle_timeout(self) -> bool: ...
def shutdown(self) -> bool: ...
def do_handshake(self) -> None: ...
def get_certificate(self) -> X509 | None: ...