[#SSL_CTX_set0_tmp_dh_pkey] = SSL_CTX_set0_tmp_dh_pkey :mrdocs: Set ephemeral DH parameters for a context, transferring ownership of `dhpkey.` == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_set0_tmp_dh_pkey( xref:SSL_CTX.adoc[SSL_CTX]* ctx, xref:EVP_PKEY.adoc[EVP_PKEY]* dhpkey); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose new connections inherit the parameters for DHE. | *dhpkey* | EVP_PKEY holding DH parameters; ownership transfers to `ctx` on success. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#