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

index 623485d3d286e1d664994073621738567d69641b..b03fa47867967a1679583150cc2a062dfbf8a451 100644 (file)
@@ -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)