summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/engine/eng_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/engine/eng_all.c')
-rw-r--r--src/lib/libcrypto/engine/eng_all.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libcrypto/engine/eng_all.c b/src/lib/libcrypto/engine/eng_all.c
index eb933153e1..4d07299efe 100644
--- a/src/lib/libcrypto/engine/eng_all.c
+++ b/src/lib/libcrypto/engine/eng_all.c
@@ -71,9 +71,7 @@ ENGINE_load_builtin_engines(void)
71 * *no* builtin implementations). */ 71 * *no* builtin implementations). */
72 ENGINE_load_openssl(); 72 ENGINE_load_openssl();
73#endif 73#endif
74#if !defined(OPENSSL_NO_HW) && (defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)) 74
75 ENGINE_load_cryptodev();
76#endif
77#ifndef OPENSSL_NO_RSAX 75#ifndef OPENSSL_NO_RSAX
78 ENGINE_load_rsax(); 76 ENGINE_load_rsax();
79#endif 77#endif
@@ -87,17 +85,3 @@ ENGINE_load_builtin_engines(void)
87#endif 85#endif
88 ENGINE_register_all_complete(); 86 ENGINE_register_all_complete();
89} 87}
90
91#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)
92void
93ENGINE_setup_bsd_cryptodev(void)
94{
95 static int bsd_cryptodev_default_loaded = 0;
96
97 if (!bsd_cryptodev_default_loaded) {
98 ENGINE_load_cryptodev();
99 ENGINE_register_all_complete();
100 }
101 bsd_cryptodev_default_loaded = 1;
102}
103#endif