load cryptodev if HAVE_CRYPTODEV is set too
authorDr. Stephen Henson <steve@openssl.org>
Mon, 1 Mar 2010 00:30:11 +0000 (00:30 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 1 Mar 2010 00:30:11 +0000 (00:30 +0000)
crypto/engine/eng_all.c

index d29cd57dc2f1abb93b147240126c49150a42075f..f29c167c06984a03fe0561a5165edf4097095f14 100644 (file)
@@ -104,7 +104,7 @@ void ENGINE_load_builtin_engines(void)
 #endif
 #endif
 #ifndef OPENSSL_NO_HW
-#if defined(__OpenBSD__) || defined(__FreeBSD__)
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(HAVE_CRYPTODEV)
        ENGINE_load_cryptodev();
 #endif
 #if defined(OPENSSL_SYS_WIN32) && !defined(OPENSSL_NO_CAPIENG)