Set the callback invoked by ENGINE_finish() to shut down an ENGINE.
Declared in <openssl/engine.h>
[[deprecated]]
int
ENGINE_set_finish_function(
ENGINE* e,
ENGINE_GEN_INT_FUNC_PTR finish_f);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| e | ENGINE whose finish hook is replaced. |
| finish_f | Function called to release functional state of e, or NULL to clear. |