summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-07-23 13:03:37 +0300
committerGitHub <noreply@github.com>2022-07-23 12:03:37 +0200
commit38f9b4e524ac6479d57021bba2270df84d85b672 (patch)
tree02745cedcdc19d14f3def19df18caab394da04db
parent65ca53a7a06a7c78c1749200a6b3a007e47d3214 (diff)
downloadpyopenssl-38f9b4e524ac6479d57021bba2270df84d85b672.tar.gz
Fix docs in `SSL.Context.get_alpn_proto_negotiated` (#1137)
-rw-r--r--src/OpenSSL/SSL.py2
1 files changed, 1 insertions, 1 deletions
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 *")