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

Name

Description

e

ENGINE whose finish hook is replaced.

finish_f

Function called to release functional state of e, or NULL to clear.

Created with MrDocs