diff options
Diffstat (limited to 'src/lib/libcrypto/engine/eng_all.c')
-rw-r--r-- | src/lib/libcrypto/engine/eng_all.c | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/src/lib/libcrypto/engine/eng_all.c b/src/lib/libcrypto/engine/eng_all.c index 8599046717..0f6992a40d 100644 --- a/src/lib/libcrypto/engine/eng_all.c +++ b/src/lib/libcrypto/engine/eng_all.c | |||
@@ -56,7 +56,8 @@ | |||
56 | * | 56 | * |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include "cryptlib.h" | 59 | #include <openssl/err.h> |
60 | #include <openssl/engine.h> | ||
60 | #include "eng_int.h" | 61 | #include "eng_int.h" |
61 | 62 | ||
62 | void ENGINE_load_builtin_engines(void) | 63 | void ENGINE_load_builtin_engines(void) |
@@ -68,42 +69,32 @@ void ENGINE_load_builtin_engines(void) | |||
68 | #if 0 | 69 | #if 0 |
69 | ENGINE_load_openssl(); | 70 | ENGINE_load_openssl(); |
70 | #endif | 71 | #endif |
71 | #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_PADLOCK) | ||
72 | ENGINE_load_padlock(); | ||
73 | #endif | ||
74 | ENGINE_load_dynamic(); | 72 | ENGINE_load_dynamic(); |
75 | #ifndef OPENSSL_NO_STATIC_ENGINE | ||
76 | #ifndef OPENSSL_NO_HW | 73 | #ifndef OPENSSL_NO_HW |
77 | #ifndef OPENSSL_NO_HW_4758_CCA | ||
78 | ENGINE_load_4758cca(); | ||
79 | #endif | ||
80 | #ifndef OPENSSL_NO_HW_AEP | ||
81 | ENGINE_load_aep(); | ||
82 | #endif | ||
83 | #ifndef OPENSSL_NO_HW_ATALLA | ||
84 | ENGINE_load_atalla(); | ||
85 | #endif | ||
86 | #ifndef OPENSSL_NO_HW_CSWIFT | 74 | #ifndef OPENSSL_NO_HW_CSWIFT |
87 | ENGINE_load_cswift(); | 75 | ENGINE_load_cswift(); |
88 | #endif | 76 | #endif |
89 | #ifndef OPENSSL_NO_HW_NCIPHER | 77 | #ifndef OPENSSL_NO_HW_NCIPHER |
90 | ENGINE_load_chil(); | 78 | ENGINE_load_chil(); |
91 | #endif | 79 | #endif |
80 | #ifndef OPENSSL_NO_HW_ATALLA | ||
81 | ENGINE_load_atalla(); | ||
82 | #endif | ||
92 | #ifndef OPENSSL_NO_HW_NURON | 83 | #ifndef OPENSSL_NO_HW_NURON |
93 | ENGINE_load_nuron(); | 84 | ENGINE_load_nuron(); |
94 | #endif | 85 | #endif |
95 | #ifndef OPENSSL_NO_HW_SUREWARE | ||
96 | ENGINE_load_sureware(); | ||
97 | #endif | ||
98 | #ifndef OPENSSL_NO_HW_UBSEC | 86 | #ifndef OPENSSL_NO_HW_UBSEC |
99 | ENGINE_load_ubsec(); | 87 | ENGINE_load_ubsec(); |
100 | #endif | 88 | #endif |
89 | #ifndef OPENSSL_NO_HW_AEP | ||
90 | ENGINE_load_aep(); | ||
101 | #endif | 91 | #endif |
102 | #if !defined(OPENSSL_NO_GMP) && !defined(OPENSSL_NO_HW_GMP) | 92 | #ifndef OPENSSL_NO_HW_SUREWARE |
103 | ENGINE_load_gmp(); | 93 | ENGINE_load_sureware(); |
104 | #endif | 94 | #endif |
95 | #ifndef OPENSSL_NO_HW_4758_CCA | ||
96 | ENGINE_load_4758cca(); | ||
105 | #endif | 97 | #endif |
106 | #ifndef OPENSSL_NO_HW | ||
107 | #if defined(__OpenBSD__) || defined(__FreeBSD__) | 98 | #if defined(__OpenBSD__) || defined(__FreeBSD__) |
108 | ENGINE_load_cryptodev(); | 99 | ENGINE_load_cryptodev(); |
109 | #endif | 100 | #endif |