Validate a Diffie‐Hellman public key and report problems via the error queue (deprecated).
Synopsis
Declared in <openssl/dh.h>
|
Warning
|
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
Name |
Description |
dh |
DH object providing the domain parameters used for the check. |
pub_key |
Public key value to validate against those parameters. |
Created with MrDocs