Set the callback invoked by ENGINE_init() to bring an ENGINE to operational state.
Declared in <openssl/engine.h>
[[deprecated]]
int
ENGINE_set_init_function(
ENGINE* e,
ENGINE_GEN_INT_FUNC_PTR init_f);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| e | ENGINE whose init hook is replaced. |
| init_f | Function called to initialise e for functional use, or NULL to clear. |