2015-01-22 03:40:55 +00:00
|
|
|
/*
|
2018-04-17 13:18:40 +00:00
|
|
|
* Copyright 2002-2018 The OpenSSL Project Authors. All Rights Reserved.
|
2002-01-05 01:37:16 +00:00
|
|
|
*
|
2018-12-06 12:34:05 +00:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-17 18:24:46 +00: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 01:37:16 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <openssl/crypto.h>
|
2015-05-14 14:56:48 +00:00
|
|
|
#include "internal/cryptlib.h"
|
2002-01-05 01:37:16 +00:00
|
|
|
#include <openssl/conf.h>
|
|
|
|
#include <openssl/x509.h>
|
|
|
|
#include <openssl/asn1.h>
|
2016-03-18 18:30:20 +00:00
|
|
|
#include <openssl/engine.h>
|
2018-03-30 18:19:56 +00:00
|
|
|
#include "conf_lcl.h"
|
2002-01-05 01:37:16 +00:00
|
|
|
|
2002-02-23 01:00:44 +00:00
|
|
|
/* Load all OpenSSL builtin modules */
|
|
|
|
|
2002-01-05 01:37:16 +00:00
|
|
|
void OPENSSL_load_builtin_modules(void)
|
2015-01-22 03:40:55 +00:00
|
|
|
{
|
|
|
|
/* Add builtin modules here */
|
|
|
|
ASN1_add_oid_module();
|
|
|
|
ASN1_add_stable_module();
|
2003-01-30 17:39:26 +00:00
|
|
|
#ifndef OPENSSL_NO_ENGINE
|
2015-01-22 03:40:55 +00:00
|
|
|
ENGINE_add_conf_module();
|
2003-01-30 17:39:26 +00:00
|
|
|
#endif
|
2015-01-22 03:40:55 +00:00
|
|
|
EVP_add_alg_module();
|
2018-03-30 18:19:56 +00:00
|
|
|
conf_add_ssl_module();
|
2015-01-22 03:40:55 +00:00
|
|
|
}
|