conf_mall.c 833 B

12345678910111213141516171819202122232425262728293031
  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. #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 "conf_lcl.h"
  17. /* Load all OpenSSL builtin modules */
  18. void OPENSSL_load_builtin_modules(void)
  19. {
  20. /* Add builtin modules here */
  21. ASN1_add_oid_module();
  22. ASN1_add_stable_module();
  23. #ifndef OPENSSL_NO_ENGINE
  24. ENGINE_add_conf_module();
  25. #endif
  26. EVP_add_alg_module();
  27. conf_add_ssl_module();
  28. }