summaryrefslogtreecommitdiff
path: root/src/OpenSSL/SSL.py
diff options
context:
space:
mode:
authorDiego Fernandez <aiguo.fernandez@gmail.com>2017-10-11 23:51:52 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2017-10-12 13:51:52 +0800
commitfe0120f9fbf08ca937cc95cf409c0d888145fafa (patch)
treecaf9d47f4a5eca17da5b1322ac5661c046a90fb5 /src/OpenSSL/SSL.py
parent1eac0e8f9b3829c5401151fabb3f78453ad772a4 (diff)
downloadpyopenssl-fe0120f9fbf08ca937cc95cf409c0d888145fafa.tar.gz
Improve documentation for passphrase callback (#703)
Address issue #701
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 8d94bd8..75d080a 100644
--- a/src/OpenSSL/SSL.py
+++ b/src/OpenSSL/SSL.py
@@ -695,7 +695,7 @@ class Context(object):
"""
Set the passphrase callback
- :param callback: The Python callback to use
+ :param callback: The Python callback to use; must return a byte string
:param userdata: (optional) A Python object which will be given as
argument to the callback
:return: None