]>
Commit | Line | Data |
---|---|---|
0f113f3e | 1 | /* |
3c2bdd7d | 2 | * Copyright 2002-2021 The OpenSSL Project Authors. All Rights Reserved. |
bc37d996 | 3 | * |
2044d382 | 4 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
62867571 RS |
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 | |
bc37d996 DSH |
8 | */ |
9 | ||
e4468e6d P |
10 | /* We need to use some engine deprecated APIs */ |
11 | #define OPENSSL_SUPPRESS_DEPRECATED | |
12 | ||
bc37d996 DSH |
13 | #include <stdio.h> |
14 | #include <openssl/crypto.h> | |
b39fc560 | 15 | #include "internal/cryptlib.h" |
bc37d996 | 16 | #include <openssl/conf.h> |
bc37d996 DSH |
17 | #include <openssl/x509.h> |
18 | #include <openssl/asn1.h> | |
3c27208f | 19 | #include <openssl/engine.h> |
abbc2c40 | 20 | #include "internal/provider.h" |
44d2482b | 21 | #include "crypto/rand.h" |
706457b7 | 22 | #include "conf_local.h" |
bc37d996 | 23 | |
e84be9b4 DSH |
24 | /* Load all OpenSSL builtin modules */ |
25 | ||
bc37d996 | 26 | void OPENSSL_load_builtin_modules(void) |
0f113f3e MC |
27 | { |
28 | /* Add builtin modules here */ | |
29 | ASN1_add_oid_module(); | |
30 | ASN1_add_stable_module(); | |
0b13e9f0 | 31 | #ifndef OPENSSL_NO_ENGINE |
0f113f3e | 32 | ENGINE_add_conf_module(); |
0b13e9f0 | 33 | #endif |
0f113f3e | 34 | EVP_add_alg_module(); |
f148f703 | 35 | ossl_config_add_ssl_module(); |
abbc2c40 | 36 | ossl_provider_add_conf_module(); |
44d2482b | 37 | ossl_random_add_conf_module(); |
0f113f3e | 38 | } |