Make sure to implement the cryptodev engine only when /dev/crypto exists.
[openssl.git] / crypto / opensslconf.h.in
index 4f3711c68ce84818c455ebe9afc28e8261339469..9082a16c46fc6ed1e42f8a3e77bdda7d50ba24ca 100644 (file)
@@ -147,7 +147,7 @@ YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
 #  define DES_PTR
 #  define DES_RISC2
 #  define DES_UNROLL
-#elif defined( i386 )          /* x86 boxes, should be gcc */
+#elif defined(i386) || defined(__i386__)       /* x86 boxes, should be gcc */
 #  define DES_PTR
 #  define DES_RISC1
 #  define DES_UNROLL