From 38f9b4e524ac6479d57021bba2270df84d85b672 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sat, 23 Jul 2022 13:03:37 +0300 Subject: Fix docs in `SSL.Context.get_alpn_proto_negotiated` (#1137) --- src/OpenSSL/SSL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py index 154cde9..6a3318c 100644 --- a/src/OpenSSL/SSL.py +++ b/src/OpenSSL/SSL.py @@ -2648,7 +2648,7 @@ class Connection: Get the protocol that was negotiated by ALPN. :returns: A bytestring of the protocol name. If no protocol has been - negotiated yet, returns an empty string. + negotiated yet, returns an empty bytestring. """ data = _ffi.new("unsigned char **") data_len = _ffi.new("unsigned int *") -- cgit v1.2.1