Register a built-in provider init function under name in a library context.
Declared in <openssl/provider.h>
int
OSSL_PROVIDER_add_builtin(
OSSL_LIB_CTX* ctx,
char const* name,
OSSL_provider_init_fn* init_fn);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Library context receiving the registration, or NULL for the default. |
| name | Name under which the provider can later be loaded. |
| init_fn | Provider entry point of type OSSL_provider_init_fn. |