Load and initialize CONF modules from a file using the default library context.
Declared in <openssl/conf.h>
int
CONF_modules_load_file(
char const* filename,
char const* appname,
unsigned long flags);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| filename | Path to an OpenSSL configuration file, or NULL for the default path. |
| appname | Application section name passed to modules, or NULL for the default. |
| flags | Bitmask of CONF_MFLAGS_* controlling missing-file and errors. |