summaryrefslogtreecommitdiffstats
path: root/crypto/engine
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-03-01 00:40:10 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-03-01 00:40:10 +0000
commita6575572c6120b379e2d3d39c7168a20854135da (patch)
tree56ad55eed5056ec52422ed981560f930de3ba801 /crypto/engine
parentc3951d8973f8f7e51e397f8069d14e25bcd032a4 (diff)
load cryptodev if HAVE_CRYPTODEV is set too
Diffstat (limited to 'crypto/engine')
-rw-r--r--crypto/engine/eng_all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/engine/eng_all.c b/crypto/engine/eng_all.c
index 623485d3d2..b03fa47867 100644
--- a/crypto/engine/eng_all.c
+++ b/crypto/engine/eng_all.c
@@ -68,7 +68,7 @@ void ENGINE_load_builtin_engines(void)
* *no* builtin implementations). */
ENGINE_load_openssl();
#endif
-#if defined(__OpenBSD__) || defined(__FreeBSD__)
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)
ENGINE_load_cryptodev();
#endif
#if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_AESNI)