CONF_modules_load

Initialize configured OpenSSL modules listed in cnf for appname.

Synopsis

Declared in <openssl/conf.h>

int
CONF_modules_load(
    CONF const* cnf,
    char const* appname,
    unsigned long flags);

Return Value

1 on success, or 0 / negative on failure depending on flags.

Parameters

NameDescription
cnfConfiguration object containing module sections.
appnameApplication section name (for example "openssl_conf"), or NULL for default.
flagsCONF_MFLAGS_* controlling missing-file and error behavior.