CONF_modules_load_file_ex

Load and initialize CONF modules from a file using library context libctx.

Synopsis

Declared in <openssl/conf.h>

int
CONF_modules_load_file_ex(
    OSSL_LIB_CTX* libctx,
    char const* filename,
    char const* appname,
    unsigned long flags);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
libctxLibrary context for module initialization, or NULL for the default.
filenamePath to an OpenSSL configuration file, or NULL for the default path.
appnameApplication section name passed to modules, or NULL for the default.
flagsBitmask of CONF_MFLAGS_* controlling missing-file and errors.