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
Name |
Description |
dhm |
Method table to update. |
finish |
Callback invoked from DH_free() for method‐specific cleanup (must not free the DH itself), or NULL. |
Created with MrDocs