/src/openssl30/crypto/conf/conf_mall.c
| Line | Count | Source | 
| 1 |  | /* | 
| 2 |  |  * Copyright 2002-2021 The OpenSSL Project Authors. All Rights Reserved. | 
| 3 |  |  * | 
| 4 |  |  * Licensed under the Apache License 2.0 (the "License").  You may not use | 
| 5 |  |  * this file except in compliance with the License.  You can obtain a copy | 
| 6 |  |  * in the file LICENSE in the source distribution or at | 
| 7 |  |  * https://www.openssl.org/source/license.html | 
| 8 |  |  */ | 
| 9 |  |  | 
| 10 |  | /* We need to use some engine deprecated APIs */ | 
| 11 |  | #define OPENSSL_SUPPRESS_DEPRECATED | 
| 12 |  |  | 
| 13 |  | #include <stdio.h> | 
| 14 |  | #include <openssl/crypto.h> | 
| 15 |  | #include "internal/cryptlib.h" | 
| 16 |  | #include <openssl/conf.h> | 
| 17 |  | #include <openssl/x509.h> | 
| 18 |  | #include <openssl/asn1.h> | 
| 19 |  | #include <openssl/engine.h> | 
| 20 |  | #include "internal/provider.h" | 
| 21 |  | #include "crypto/rand.h" | 
| 22 |  | #include "conf_local.h" | 
| 23 |  |  | 
| 24 |  | /* Load all OpenSSL builtin modules */ | 
| 25 |  |  | 
| 26 |  | void OPENSSL_load_builtin_modules(void) | 
| 27 | 6 | { | 
| 28 |  |     /* Add builtin modules here */ | 
| 29 | 6 |     ASN1_add_oid_module(); | 
| 30 | 6 |     ASN1_add_stable_module(); | 
| 31 | 6 | #ifndef OPENSSL_NO_ENGINE | 
| 32 | 6 |     ENGINE_add_conf_module(); | 
| 33 | 6 | #endif | 
| 34 | 6 |     EVP_add_alg_module(); | 
| 35 | 6 |     ossl_config_add_ssl_module(); | 
| 36 | 6 |     ossl_provider_add_conf_module(); | 
| 37 | 6 |     ossl_random_add_conf_module(); | 
| 38 | 6 | } |