[#DH_set_length] = DH_set_length :mrdocs: Set the optional private‐value length hint on a DH object (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DH_set_length( xref:DH.adoc[DH]* dh, long length); ---- [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 error. == Parameters [cols="1,4"] |=== | Name| Description | *dh* | DH object to update. | *length* | Preferred length in bits of the secret exponent, or 0 for the default. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#