[#DH_meth_set_init] = DH_meth_set_init :mrdocs: Set the DH object‐initialization callback on a DH_METHOD (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DH_meth_set_init( xref:DH_METHOD-0a.adoc[DH_METHOD]* dhm, int(* init)(xref:DH.adoc[DH]*)); ---- [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 | *dhm* | Method table to update. | *init* | Callback invoked when a DH object using this method is initialized, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#