summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2014-04-19 09:29:10 -0400
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2014-04-19 09:29:10 -0400
commit3b04e35e18fb9cb6436bc0e41462c59d488d16d9 (patch)
treeb1d306125c67af292e478708df25a224b25c5df6
parent3e4e33562d6f06ebe1205bd03425a9cc772a92d9 (diff)
downloadpyopenssl-3b04e35e18fb9cb6436bc0e41462c59d488d16d9.tar.gz
all the way
-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