Report whether a named provider is available in a library context.
Declared in <openssl/provider.h>
int
OSSL_PROVIDER_available(
OSSL_LIB_CTX* ctx,
char const* name);
1 if the provider is available (loaded or loadable as configured), or 0 otherwise.
| Name | Description |
|---|---|
| ctx | Library context to query, or NULL for the default. |
| name | Provider name to look up. |