OPENSSL\_LOAD\_BUILTIN\_MODULES(3ossl) OpenSSL OPENSSL\_LOAD\_BUILTIN\_MODULES(3ossl)

# [NAME](#NAME)

OPENSSL\_load\_builtin\_modules, ASN1\_add\_oid\_module - add standard configuration modules

# [SYNOPSIS](#SYNOPSIS)

```
 #include <openssl/conf.h>
 void OPENSSL_load_builtin_modules(void);
 void ASN1_add_oid_module(void);
```

# [DESCRIPTION](#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 ASN1 OBJECT module.

# [NOTES](#NOTES)

If the simple configuration function **OPENSSL\_config()** is called then **OPENSSL\_load\_builtin\_modules()** is called automatically.

Applications which use the configuration functions directly will need to call **OPENSSL\_load\_builtin\_modules()** themselves *before* any other configuration code.

Applications should call **OPENSSL\_load\_builtin\_modules()** to load all configuration modules instead of adding modules selectively: otherwise functionality may be missing from the application if an when new modules are added.

# [RETURN VALUES](#RETURN_VALUES)

None of the functions return a value.

# [SEE ALSO](#SEE_ALSO)

[**config**(5)](/man/os/openssl-4.0/config.5), [**OPENSSL\_config**(3)](/man/os/openssl-4.0/OPENSSL_config.3)

# [COPYRIGHT](#COPYRIGHT)

Copyright 2004-2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at &lt;https://www.openssl.org/source/license.html&gt;.

2026-09-29 4.0.3

---

Document: OPENSSL_load_builtin_modules(3ossl) from openssl-4.0 4.0.3-r8 (Chainguard OS)
