From 65f188442c7126652b73d5bf33b2369b5473c30c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Mar 2023 00:49:23 +0000 Subject: [PATCH] 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 --- stubs/pyOpenSSL/METADATA.toml | 2 +- stubs/pyOpenSSL/OpenSSL/SSL.pyi | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stubs/pyOpenSSL/METADATA.toml b/stubs/pyOpenSSL/METADATA.toml index f1c9279f4..baa929c65 100644 --- a/stubs/pyOpenSSL/METADATA.toml +++ b/stubs/pyOpenSSL/METADATA.toml @@ -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"] diff --git a/stubs/pyOpenSSL/OpenSSL/SSL.pyi b/stubs/pyOpenSSL/OpenSSL/SSL.pyi index 7754145a7..1aa1d6a47 100644 --- a/stubs/pyOpenSSL/OpenSSL/SSL.pyi +++ b/stubs/pyOpenSSL/OpenSSL/SSL.pyi @@ -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: ...