summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2014-04-19 09:26:44 -0400
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2014-04-19 09:26:44 -0400
commitd5839e2a950d475b518023b23dee06862aa5ba77 (patch)
treeab41af2d3ba2552c7fb7373f1201fb9a9ccdfbb3
parentaaf516dc7780648fc43ec07f9896e7dffa22a699 (diff)
downloadpyopenssl-d5839e2a950d475b518023b23dee06862aa5ba77.tar.gz
strings are hard, be explicit
-rw-r--r--OpenSSL/crypto.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py
index 0c4b2f8..6e32ad1 100644
--- a/OpenSSL/crypto.py
+++ b/OpenSSL/crypto.py
@@ -364,6 +364,10 @@ def get_elliptic_curve(name):
See :py:func:`get_elliptic_curves` for information about curve objects.
+ :param name: The OpenSSL short name identifying the curve object to
+ retrieve.
+ :type name: :py:class:`unicode`
+
If the named curve is not supported then :py:class:`ValueError` is raised.
"""
for curve in get_elliptic_curves():