ENGINE_set_load_privkey_function

Set the callback used by ENGINE_load_private_key() to load private keys.

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_set_load_privkey_function(
    ENGINE* e,
    ENGINE_LOAD_KEY_PTR loadpriv_f);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
eENGINE whose private-key loader is replaced.
loadpriv_fLoader callback, or NULL to clear.