1 /* 2 * Copyright 2002-2018 The OpenSSL Project Authors. All Rights Reserved. 3 * 4 * Licensed under the OpenSSL license (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 #include <stdio.h> 11 #include <openssl/crypto.h> 12 #include "internal/cryptlib.h" 13 #include <openssl/conf.h> 14 #include <openssl/x509.h> 15 #include <openssl/asn1.h> 16 #include <openssl/engine.h> 17 #include "conf_lcl.h" 18 19 /* Load all OpenSSL builtin modules */ 20 21 void OPENSSL_load_builtin_modules(void) 22 { 23 /* Add builtin modules here */ 24 ASN1_add_oid_module(); 25 ASN1_add_stable_module(); 26 #ifndef OPENSSL_NO_ENGINE 27 ENGINE_add_conf_module(); 28 #endif 29 EVP_add_alg_module(); 30 conf_add_ssl_module(); 31 } 32