DH_meth_set_finish

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

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
DH_meth_set_finish(
    DH_METHOD* dhm,
    int(* finish)(DH*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
dhmMethod table to update.
finishCallback invoked from DH_free() for method-specific cleanup (must not free the DH itself), or NULL.