summaryrefslogtreecommitdiff
path: root/src/OpenSSL/SSL.py
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2016-03-11 12:05:26 +0100
committerHynek Schlawack <hs@ox.cx>2016-03-11 12:05:26 +0100
commita7a63af02faf633f2b400adfaace98219b2bde6c (patch)
tree80899b54f759364673e721a04d89626898117132 /src/OpenSSL/SSL.py
parentf90e368cdd11654b7e68fbde98c561177b333671 (diff)
downloadpyopenssl-a7a63af02faf633f2b400adfaace98219b2bde6c.tar.gz
Grammar
Diffstat (limited to 'src/OpenSSL/SSL.py')
-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 5dbe52b..ffb1998 100644
--- a/src/OpenSSL/SSL.py
+++ b/src/OpenSSL/SSL.py
@@ -820,7 +820,7 @@ class Context(object):
cipher_list = _text_to_bytes_and_warn("cipher_list", cipher_list)
if not isinstance(cipher_list, bytes):
- raise TypeError("cipher_list must be a bytes string.")
+ raise TypeError("cipher_list must be a byte string.")
_openssl_assert(
_lib.SSL_CTX_set_cipher_list(self._context, cipher_list)