[#DH_set_method] = DH_set_method :mrdocs: Select the DH_METHOD used for operations on `dh` (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DH_set_method( xref:DH.adoc[DH]* dh, xref:DH_METHOD-0a.adoc[DH_METHOD] const* meth); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value Non‐zero on success. == Parameters [cols="1,4"] |=== | Name| Description | *dh* | DH object whose method is replaced. | *meth* | Method implementation to attach; releases any prior ENGINE method. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#