Set the DH object-initialization callback on a DH_METHOD (deprecated).
Declared in <openssl/dh.h>
[[deprecated]]
int
DH_meth_set_init(
DH_METHOD* dhm,
int(* init)(DH*));
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| dhm | Method table to update. |
| init | Callback invoked when a DH object using this method is initialized, or NULL to clear. |