[#ENGINE_set_DH] = ENGINE_set_DH :mrdocs: Attach a DH_METHOD implementation to an ENGINE (deprecated). == Synopsis Declared in `<openssl/engine.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int ENGINE_set_DH( xref:ENGINE.adoc[ENGINE]* e, xref:DH_METHOD-0a.adoc[DH_METHOD] const* dh_meth); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *e* | ENGINE whose DH method pointer is replaced. | *dh_meth* | DH method table to use, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#