conf_mall.c 906 B

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