Load a provider by name into a library context.

Synopsis

Declared in <openssl/provider.h>

OSSL_PROVIDER*
OSSL_PROVIDER_load(
    OSSL_LIB_CTX* ctx,
    char const* name);

Return Value

Provider handle on success, or NULL on failure; unload with OSSL_PROVIDER_unload().

Parameters

Name

Description

ctx

Library context that will own the provider, or NULL for the default.

name

Provider name (for example "default" or "legacy").

Created with MrDocs