[#DH_check_params] = DH_check_params :mrdocs: Perform a lightweight check that DH parameters p and g look plausible (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DH_check_params( xref:DH.adoc[DH] const* dh, int* ret); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Description Prefer DH_check() when a more thorough validation is required. == Return Value 1 if the check routine ran successfully (inspect `ret),` or 0 on hard failure. == Parameters [cols="1,4"] |=== | Name| Description | *dh* | DH object whose domain parameters are checked. | *ret* | Receives zero or DH_CHECK_* reason bits describing problems found. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#