OSSL_LIB_CTX_load_config

Load providers and configuration directives from config_file into ctx.

Synopsis

Declared in <openssl/crypto.h>

int
OSSL_LIB_CTX_load_config(
    OSSL_LIB_CTX* ctx,
    char const* config_file);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxLibrary context to configure.
config_filePath to an OpenSSL configuration file.