[#ENGINE_set_load_privkey_function] = ENGINE_set_load_privkey_function :mrdocs: Set the callback used by ENGINE_load_private_key() to load private keys. == Synopsis Declared in `<openssl/engine.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int ENGINE_set_load_privkey_function( xref:ENGINE.adoc[ENGINE]* e, xref:ENGINE_LOAD_KEY_PTR.adoc[ENGINE_LOAD_KEY_PTR] loadpriv_f); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *e* | ENGINE whose private‐key loader is replaced. | *loadpriv_f* | Loader callback, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#