[#DH_meth_new] = DH_meth_new :mrdocs: Allocate a custom DH_METHOD with a duplicated name (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:DH_METHOD-0a.adoc[DH_METHOD]* DH_meth_new( char const* name, int flags); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value New DH_METHOD, or NULL on failure; free with DH_meth_free(). == Parameters [cols="1,4"] |=== | Name| Description | *name* | Display name copied into the method object. | *flags* | Initial DH_METHOD flag bits. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#