Perform a lightweight check that DH parameters p and g look plausible (deprecated).
Synopsis
Declared in <openssl/dh.h>
[[deprecated]]
int
DH_check_params(
DH const* dh,
int* ret);
|
Warning
|
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
Name |
Description |
dh |
DH object whose domain parameters are checked. |
ret |
Receives zero or DH_CHECK_* reason bits describing problems found. |
Created with MrDocs