2008-11-06 02:39:08 +08:00
|
|
|
/*
|
2021-04-08 20:04:41 +08:00
|
|
|
* Copyright 2002-2021 The OpenSSL Project Authors. All Rights Reserved.
|
2002-01-05 09:37:16 +08:00
|
|
|
*
|
2018-12-06 20:34:05 +08:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 02:24:46 +08:00
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
2002-01-05 09:37:16 +08:00
|
|
|
*/
|
|
|
|
|
2020-07-14 07:40:29 +08:00
|
|
|
/* We need to use some engine deprecated APIs */
|
|
|
|
#define OPENSSL_SUPPRESS_DEPRECATED
|
|
|
|
|
2002-01-05 09:37:16 +08:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <openssl/crypto.h>
|
2015-05-14 22:56:48 +08:00
|
|
|
#include "internal/cryptlib.h"
|
2002-01-05 09:37:16 +08:00
|
|
|
#include <openssl/conf.h>
|
|
|
|
#include <openssl/x509.h>
|
|
|
|
#include <openssl/asn1.h>
|
2016-03-19 02:30:20 +08:00
|
|
|
#include <openssl/engine.h>
|
2019-03-20 23:53:19 +08:00
|
|
|
#include "internal/provider.h"
|
2020-09-21 14:07:34 +08:00
|
|
|
#include "crypto/rand.h"
|
2019-09-28 06:45:40 +08:00
|
|
|
#include "conf_local.h"
|
2002-01-05 09:37:16 +08:00
|
|
|
|
2002-02-23 09:00:44 +08:00
|
|
|
/* Load all OpenSSL builtin modules */
|
|
|
|
|
2002-01-05 09:37:16 +08:00
|
|
|
void OPENSSL_load_builtin_modules(void)
|
|
|
|
{
|
|
|
|
/* Add builtin modules here */
|
|
|
|
ASN1_add_oid_module();
|
2012-10-22 21:05:54 +08:00
|
|
|
ASN1_add_stable_module();
|
2003-01-31 01:39:26 +08:00
|
|
|
#ifndef OPENSSL_NO_ENGINE
|
2002-01-21 11:02:36 +08:00
|
|
|
ENGINE_add_conf_module();
|
2003-01-31 01:39:26 +08:00
|
|
|
#endif
|
2012-07-04 04:30:40 +08:00
|
|
|
EVP_add_alg_module();
|
2021-03-09 09:36:36 +08:00
|
|
|
ossl_config_add_ssl_module();
|
2019-03-20 23:53:19 +08:00
|
|
|
ossl_provider_add_conf_module();
|
2020-09-21 14:07:34 +08:00
|
|
|
ossl_random_add_conf_module();
|
2002-01-05 09:37:16 +08:00
|
|
|
}
|