ong SSL_CTX_set_ecdh_auto(SSL_CTX *ctx, int state);
long SSL_set_ecdh_auto(SSL *ssl, int state);</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>SSL_CTX_set_tmp_ecdh() sets ECDH parameters to be used to be <b>ecdh</b>. The key is inherited by all <b>ssl</b> objects created from <b>ctx</b>. This macro is deprecated in favor of <a href="../man3/SSL_CTX_set1_groups.html">SSL_CTX_set1_groups(3)</a>.</p>

<p>SSL_set_tmp_ecdh() sets the parameters only for <b>ssl</b>. This macro is deprecated in favor of 