eng_all.c 713 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright 2001-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 "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__)) \
  18. && !OPENSSL_API_1_1_0
  19. void ENGINE_setup_bsd_cryptodev(void)
  20. {
  21. }
  22. #endif