eng_all.c 718 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright 2001-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 "internal/cryptlib.h"
  10. #include "eng_int.h"
  11. void ENGINE_load_builtin_engines(void)
  12. {
  13. /* Some ENGINEs need this */
  14. OPENSSL_cpuid_setup();
  15. OPENSSL_init_crypto(OPENSSL_INIT_ENGINE_ALL_BUILTIN, NULL);
  16. }
  17. #if (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)) && OPENSSL_API_COMPAT < 0x10100000L
  18. void ENGINE_setup_bsd_cryptodev(void)
  19. {
  20. }
  21. #endif