[#DH_new_method] = DH_new_method :mrdocs: Allocate a DH object that uses `engine` for DH operations (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:DH.adoc[DH]* DH_new_method(xref:ENGINE.adoc[ENGINE]* engine); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value New DH, or NULL on allocation failure. == Parameters [cols="1,4"] |=== | Name| Description | *engine* | ENGINE to use, or NULL for the default DH ENGINE / method. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#