Fix build failure on Windows due to undefined cflags identifier
[oweals/openssl.git] / engines / e_padlock.c
index eaee67ecbfd090be9f52a44cac88548cec1ab3e8..42a11b528444d5a378ec087d466ebbeb8ea336f9 100644 (file)
@@ -1,4 +1,4 @@
-/* 
+/*-
  * Support for VIA PadLock Advanced Cryptography Engine (ACE)
  * Written by Michal Ludvig <michal@logix.cz>
  *            http://www.logix.cz/michal
  
 #undef COMPILE_HW_PADLOCK
 #if !defined(I386_ONLY) && !defined(OPENSSL_NO_ASM)
-# if   (defined(__i386__) || defined(__i386) ||    \
+# if   defined(__i386__) || defined(__i386) ||    \
        defined(__x86_64__) || defined(__x86_64) || \
        defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) || \
-        defined(__INTEL__)) && !defined(__MACH__)
+       defined(__INTEL__)
 #  define COMPILE_HW_PADLOCK
 #  ifdef OPENSSL_NO_DYNAMIC_ENGINE
 static ENGINE *ENGINE_padlock (void);
@@ -333,7 +333,7 @@ padlock_available(void)
 #endif
 
 /* List of supported ciphers. */
-static int padlock_cipher_nids[] = {
+static const int padlock_cipher_nids[] = {
        NID_aes_128_ecb,
        NID_aes_128_cbc,
        NID_aes_128_cfb,