Set the DH object‐initialization callback on a DH_METHOD (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_meth_set_init(
    DH_METHOD* dhm,
    int(* init)(DH*));
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

dhm

Method table to update.

init

Callback invoked when a DH object using this method is initialized, or NULL to clear.

Created with MrDocs