Set the callback invoked when the last structural reference to an ENGINE is released.
Synopsis
Declared in <openssl/engine.h>
[[deprecated]]
int
ENGINE_set_destroy_function(
ENGINE* e,
ENGINE_GEN_INT_FUNC_PTR destroy_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 destroy hook is replaced. |
destroy_f |
Function called to tear down |
Created with MrDocs