MirOS Manual: CONF_modules_load(3), CONF_modules_load_file(3)


CONF_MODULES_LOAD_FILE(3)    OpenSSL    CONF_MODULES_LOAD_FILE(3)

NAME

      CONF_modules_load_file, CONF_modules_load - OpenSSL configuration functions

SYNOPSIS

      #include <openssl/conf.h>

      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);

DESCRIPTION

     The function CONF_modules_load_file() configures OpenSSL
     using file filename and application name appname. If
     filename is NULL the standard OpenSSL configuration file is
     used. If appname is NULL the standard OpenSSL application
     name openssl_conf is used. The behaviour can be cutomized
     using flags.

     CONF_modules_load() is idential to CONF_modules_load_file()
     except it read configuration information from cnf.

NOTES

     The following flags are currently recognized:

     CONF_MFLAGS_IGNORE_ERRORS if set errors returned by indivi-
     dual 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 to
     the error queue. If CONF_MFLAGS_SILENT is set no error
     information is added.

     If CONF_MFLAGS_NO_DSO is set configuration module loading
     from DSOs is disabled.

     CONF_MFLAGS_IGNORE_MISSING_FILE if set will make
     CONF_load_modules_file() ignore missing configuration files.
     Normally a missing configuration file return an error.

RETURN VALUE

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

SEE ALSO

     conf(5), OPENSSL_config(3), CONF_free(3), err(3)

HISTORY

     CONF_modules_load_file and CONF_modules_load first appeared

MirOS BSD #10-current      2014-06-05                           1

CONF_MODULES_LOAD_FILE(3)    OpenSSL    CONF_MODULES_LOAD_FILE(3)

     in OpenSSL 0.9.7.

MirOS BSD #10-current      2014-06-05                           2

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.