summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--OpenSSL/crypto.py4
-rw-r--r--doc/api/crypto.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/OpenSSL/crypto.py b/OpenSSL/crypto.py
index 6e32ad1..380593b 100644
--- a/OpenSSL/crypto.py
+++ b/OpenSSL/crypto.py
@@ -351,8 +351,8 @@ def get_elliptic_curves():
they identify themselves.
The curve objects are useful as values for the argument accepted by
- :py:meth:`Context.set_tmp_ecdh_curve` to specify which elliptical curve
- should be used for ECDHE key exchange.
+ :py:meth:`Context.set_tmp_ecdh` to specify which elliptical curve should be
+ used for ECDHE key exchange.
"""
return _EllipticCurve._get_elliptic_curves(_lib)
diff --git a/doc/api/crypto.rst b/doc/api/crypto.rst
index 15f4662..b360e89 100644
--- a/doc/api/crypto.rst
+++ b/doc/api/crypto.rst
@@ -128,8 +128,8 @@
they identify themselves.
The curve objects are useful as values for the argument accepted by
- :py:meth:`Context.set_tmp_ecdh_curve` to specify which elliptical curve
- should be used for ECDHE key exchange.
+ :py:meth:`Context.set_tmp_ecdh` to specify which elliptical curve should be
+ used for ECDHE key exchange.
.. py:function:: get_elliptic_curve