table of contents
OPENSSL_LOAD_BUILTIN_MODULES(3) | Library Functions Manual | OPENSSL_LOAD_BUILTIN_MODULES(3) |
NAME¶
OPENSSL_load_builtin_modules
,
ASN1_add_oid_module
— add
standard configuration modules
SYNOPSIS¶
#include
<openssl/conf.h>
void
OPENSSL_load_builtin_modules
(void);
void
ASN1_add_oid_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.
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¶
HISTORY¶
These functions first appeared in OpenSSL 0.9.7 and have been available since OpenBSD 3.2.
December 5, 2023 | Linux 6.4.0-150600.23.25-default |