diff --git a/stubs/pyOpenSSL/METADATA.toml b/stubs/pyOpenSSL/METADATA.toml index 8d459b36a..bd76f137d 100644 --- a/stubs/pyOpenSSL/METADATA.toml +++ b/stubs/pyOpenSSL/METADATA.toml @@ -1,4 +1,4 @@ -version = "23.3.*" +version = "24.0.*" upstream_repository = "https://github.com/pyca/pyopenssl" # 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 bf3530a6a..9b3d5c43f 100644 --- a/stubs/pyOpenSSL/OpenSSL/SSL.pyi +++ b/stubs/pyOpenSSL/OpenSSL/SSL.pyi @@ -175,6 +175,7 @@ class Connection: def get_peer_finished(self) -> bytes | None: ... def set_alpn_protos(self, protos: Sequence[bytes]) -> None: ... def get_alpn_proto_negotiated(self) -> bytes: ... + def get_selected_srtp_profile(self) -> bytes: ... def request_ocsp(self) -> None: ... _T = TypeVar("_T")