Report whether a named provider is available in a library context.

Synopsis

Declared in <openssl/provider.h>

int
OSSL_PROVIDER_available(
    OSSL_LIB_CTX* ctx,
    char const* name);

Return Value

1 if the provider is available (loaded or loadable as configured), or 0 otherwise.

Parameters

Name

Description

ctx

Library context to query, or NULL for the default.

name

Provider name to look up.

Created with MrDocs