summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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():