diff --git a/stubs/pyOpenSSL/OpenSSL/SSL.pyi b/stubs/pyOpenSSL/OpenSSL/SSL.pyi index c9f284793..13b618ad3 100644 --- a/stubs/pyOpenSSL/OpenSSL/SSL.pyi +++ b/stubs/pyOpenSSL/OpenSSL/SSL.pyi @@ -131,7 +131,7 @@ class Connection(object): def get_peer_cert_chain(self) -> list[X509]: ... def get_alpn_proto_negotiated(self) -> bytes: ... def get_cipher_name(self) -> str | None: ... - def get_protocol_version_name(self) -> str | None: ... + def get_protocol_version_name(self) -> str: ... def get_shutdown(self) -> int: ... def get_app_data(self) -> Any: ... def set_app_data(self, data: Any) -> None: ...