all the way
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