OpenSSL CONF_modules_load_file(3openssl)
NNNNAAAAMMMMEEEECONF_modules_load_file, CONF_modules_load - OpenSSL configuration functions
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS#include
int CONF_modules_load_file(const char *filename, const char *appname,
unsigned long flags);int CONF_modules_load(const CONF *cnf, const char *appname,
unsigned long flags); DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNThe function CONF_modules_load_file() configures OpenSSL
using file ffffiiiilllleeeennnnaaaammmmeeee and application name aaaappppppppnnnnaaaammmmeeee. If ffffiiiilllleeeennnnaaaammmmeeee is NULL the standard OpenSSL configuration file is used. If aaaappppppppnnnnaaaammmmeeee is NULL the standard OpenSSL applicationname ooooppppeeeennnnssssssssllll_ccccoooonnnnffff is used. The behaviour can be cutomized
using ffffllllaaaaggggssss.CONF_modules_load() is idential to CONF_modules_load_file()
except it read configuration information from ccccnnnnffff. NNNNOOOOTTTTEEEESSSS The following ffffllllaaaaggggssss are currently recognized:CCCCOOOONNNNFFFF_MMMMFFFFLLLLAAAAGGGGSSSS_IIIIGGGGNNNNOOOORRRREEEE_EEEERRRRRRRROOOORRRRSSSS if set errors returned by
individual configuration modules are ignored. If not set the first module error is considered fatal and no further modules are loads. Normally any modules errors will add error information tothe error queue. If CCCCOOOONNNNFFFF_MMMMFFFFLLLLAAAAGGGGSSSS_SSSSIIIILLLLEEEENNNNTTTT is set no error
information is added.If CCCCOOOONNNNFFFF_MMMMFFFFLLLLAAAAGGGGSSSS_NNNNOOOO_DDDDSSSSOOOO is set configuration module loading
from DSOs is disabled.CCCCOOOONNNNFFFF_MMMMFFFFLLLLAAAAGGGGSSSS_IIIIGGGGNNNNOOOORRRREEEE_MMMMIIIISSSSSSSSIIIINNNNGGGG_FFFFIIIILLLLEEEE if set will make
CONF_load_modules_file() ignore missing configuration files.
Normally a missing configuration file return an error. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE These functions return 1 for success and a zero or negative value for failure. If module errors are not ignored the return code will reflect the return value of the failing module (this will always be zero or negative). SSSSEEEEEEEE AAAALLLLSSSSOOOOconf(5), OPENSSL_config(3), the section on CONF_free(3),
CONF_free(3), the err(3),err(3) manpage
2/Mar/2004 Last change: 0.9.8o 1
OpenSSL CONF_modules_load_file(3openssl)
HHHHIIIISSSSTTTTOOOORRRRYYYYCONF_modules_load_file and CONF_modules_load first appeared
in OpenSSL 0.9.7.2/Mar/2004 Last change: 0.9.8o 2