Set the callback used by ENGINE_load_public_key() to load public keys.
Declared in <openssl/engine.h>
[[deprecated]]
int
ENGINE_set_load_pubkey_function(
ENGINE* e,
ENGINE_LOAD_KEY_PTR loadpub_f);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| e | ENGINE whose public-key loader is replaced. |
| loadpub_f | Loader callback, or NULL to clear. |