2015-01-22 11:40:55 +08:00
|
|
|
/*
|
2020-07-16 20:47:04 +08:00
|
|
|
* Copyright 2002-2020 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"
|
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)
|
2015-01-22 11:40:55 +08:00
|
|
|
{
|
|
|
|
/* Add builtin modules here */
|
|
|
|
ASN1_add_oid_module();
|
|
|
|
ASN1_add_stable_module();
|
2003-01-31 01:39:26 +08:00
|
|
|
#ifndef OPENSSL_NO_ENGINE
|
2015-01-22 11:40:55 +08:00
|
|
|
ENGINE_add_conf_module();
|
2003-01-31 01:39:26 +08:00
|
|
|
#endif
|
2015-01-22 11:40:55 +08:00
|
|
|
EVP_add_alg_module();
|
2018-03-31 02:19:56 +08:00
|
|
|
conf_add_ssl_module();
|
2019-03-20 23:53:19 +08:00
|
|
|
ossl_provider_add_conf_module();
|
2015-01-22 11:40:55 +08:00
|
|
|
}
|