ENGINE_set_finish_function

Set the callback invoked by ENGINE_finish() to shut down an ENGINE.

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_set_finish_function(
    ENGINE* e,
    ENGINE_GEN_INT_FUNC_PTR finish_f);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
eENGINE whose finish hook is replaced.
finish_fFunction called to release functional state of e, or NULL to clear.