'Select a curve to use for ECDHE key exchange.
:param curve: A curve object to use as returned by either
:py:meth:`OpenSSL.crypto.get_elliptic_curve` or
:py:meth:`OpenSSL.crypto.get_elliptic_curves`.
:return: None'

def set_tmp_ecdh(self, curve):

    _lib.SSL_CTX_set_tmp_ecdh(self._context, curve._to_EC_KEY())
