[#DH_check_pub_key_ex] = DH_check_pub_key_ex :mrdocs: Validate a Diffie‐Hellman public key and report problems via the error queue (deprecated). == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int DH_check_pub_key_ex( xref:DH.adoc[DH] const* dh, xref:BIGNUM.adoc[BIGNUM] const* pub_key); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 if the public key looks suitable, or 0 if checks fail (reasons are pushed to the error stack). == Parameters [cols="1,4"] |=== | Name| Description | *dh* | DH object providing the domain parameters used for the check. | *pub_key* | Public key value to validate against those parameters. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#