libressl-OPENSSL_load_builtin_modules - add standard configuration modules


OPENSSL_LOAD_BUILTIN_MOD(3) Library Functions ManualOPENSSL_LOAD_BUILTIN_MOD(3)

NAME

OPENSSL_load_builtin_modules, ASN1_add_oid_module, ENGINE_add_conf_module — add standard configuration modules

SYNOPSIS

#include <openssl/conf.h>

void

OPENSSL_load_builtin_modules(void);

void

ASN1_add_oid_module(void);

void

ENGINE_add_conf_module(void);

DESCRIPTION

The function OPENSSL_load_builtin_modules() adds all the standard OpenSSL configuration modules to the internal list. They can then be used by the OpenSSL configuration code.

ASN1_add_oid_module() adds just the ASN.1 OBJECT module.

ENGINE_add_conf_module() adds just the ENGINE configuration module.

If the simple configuration function OPENSSL_config(3) is called then OPENSSL_load_builtin_modules() is called automatically.

Applications which use configuration functions like CONF_modules_load_file(3) directly need to call OPENSSL_load_builtin_modules() themselves before any other configuration code.

Applications should call OPENSSL_config(3) or OPENSSL_load_builtin_modules() to load all configuration modules instead of adding modules selectively: otherwise functionality may be missing from the application when new modules are added.

SEE ALSO

CONF_modules_load_file(3), OPENSSL_config(3)

HISTORY

These functions first appeared in OpenSSL 0.9.7 and have been available since OpenBSD 3.2. GNU June 14, 2019 OPENSSL_LOAD_BUILTIN_MODULES(3)


Updated 2024-01-29 - jenkler.se | uex.se