CONF_modules_load_file

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

Synopsis

Declared in <openssl/conf.h>

int
CONF_modules_load_file(
    char const* filename,
    char const* appname,
    unsigned long flags);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
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.