xref: /freebsd/crypto/openssl/crypto/conf/conf_mall.c (revision b077aed3)
16f9291ceSJung-uk Kim /*
2b077aed3SPierre Pronchery  * Copyright 2002-2021 The OpenSSL Project Authors. All Rights Reserved.
35c87c606SMark Murray  *
4b077aed3SPierre Pronchery  * Licensed under the Apache License 2.0 (the "License").  You may not use
5e71b7053SJung-uk Kim  * this file except in compliance with the License.  You can obtain a copy
6e71b7053SJung-uk Kim  * in the file LICENSE in the source distribution or at
7e71b7053SJung-uk Kim  * https://www.openssl.org/source/license.html
85c87c606SMark Murray  */
95c87c606SMark Murray 
10b077aed3SPierre Pronchery /* We need to use some engine deprecated APIs */
11b077aed3SPierre Pronchery #define OPENSSL_SUPPRESS_DEPRECATED
12b077aed3SPierre Pronchery 
135c87c606SMark Murray #include <stdio.h>
145c87c606SMark Murray #include <openssl/crypto.h>
15e71b7053SJung-uk Kim #include "internal/cryptlib.h"
165c87c606SMark Murray #include <openssl/conf.h>
175c87c606SMark Murray #include <openssl/x509.h>
185c87c606SMark Murray #include <openssl/asn1.h>
195c87c606SMark Murray #include <openssl/engine.h>
20b077aed3SPierre Pronchery #include "internal/provider.h"
21b077aed3SPierre Pronchery #include "crypto/rand.h"
2217f01e99SJung-uk Kim #include "conf_local.h"
235c87c606SMark Murray 
245c87c606SMark Murray /* Load all OpenSSL builtin modules */
255c87c606SMark Murray 
OPENSSL_load_builtin_modules(void)265c87c606SMark Murray void OPENSSL_load_builtin_modules(void)
275c87c606SMark Murray {
285c87c606SMark Murray     /* Add builtin modules here */
295c87c606SMark Murray     ASN1_add_oid_module();
30e71b7053SJung-uk Kim     ASN1_add_stable_module();
31fceca8a3SJacques Vidrine #ifndef OPENSSL_NO_ENGINE
325c87c606SMark Murray     ENGINE_add_conf_module();
33fceca8a3SJacques Vidrine #endif
3409286989SJung-uk Kim     EVP_add_alg_module();
35b077aed3SPierre Pronchery     ossl_config_add_ssl_module();
36b077aed3SPierre Pronchery     ossl_provider_add_conf_module();
37b077aed3SPierre Pronchery     ossl_random_add_conf_module();
385c87c606SMark Murray }
39