summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--OpenSSL/_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/_util.py b/OpenSSL/_util.py
index c995971..7c606b9 100644
--- a/OpenSSL/_util.py
+++ b/OpenSSL/_util.py
@@ -23,7 +23,7 @@ def exception_from_error_queue(exceptionType):
def native(s):
"""
Convert :py:class:`bytes` or :py:class:`unicode` to the native
- :py:class:`str` type, using UTF-9 encoding if conversion is necessary.
+ :py:class:`str` type, using UTF-8 encoding if conversion is necessary.
:raise UnicodeError: The input string is not UTF-8 decodeable.