[#DH_check] = DH_check :mrdocs: Validate Diffie‐Hellman parameters and return a bitmask of problems (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DH_check( xref:DH.adoc[DH] const* dh, int* codes); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 if the check routine ran successfully (inspect `codes),` or 0 on hard failure. == Parameters [cols="1,4"] |=== | Name| Description | *dh* | DH object whose domain parameters are checked. | *codes* | Receives zero or a combination of DH_CHECK_* reason bits. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#