aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/engine/eng_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/engine/eng_all.c')
-rw-r--r--crypto/openssl/crypto/engine/eng_all.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/openssl/crypto/engine/eng_all.c b/crypto/openssl/crypto/engine/eng_all.c
index e4d48dae8544..0f6992a40dbf 100644
--- a/crypto/openssl/crypto/engine/eng_all.c
+++ b/crypto/openssl/crypto/engine/eng_all.c
@@ -95,19 +95,19 @@ void ENGINE_load_builtin_engines(void)
#ifndef OPENSSL_NO_HW_4758_CCA
ENGINE_load_4758cca();
#endif
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
ENGINE_load_cryptodev();
#endif
#endif
}
-#ifdef __OpenBSD__
-void ENGINE_setup_openbsd(void) {
- static int openbsd_default_loaded = 0;
- if (!openbsd_default_loaded) {
+#if defined(__OpenBSD__) || defined(__FreeBSD__)
+void ENGINE_setup_bsd_cryptodev(void) {
+ static int bsd_cryptodev_default_loaded = 0;
+ if (!bsd_cryptodev_default_loaded) {
ENGINE_load_cryptodev();
ENGINE_register_all_complete();
}
- openbsd_default_loaded=1;
+ bsd_cryptodev_default_loaded=1;
}
#endif