Add assembly CRYPTO_memcmp.
[openssl.git] / crypto / cryptlib.c
index 92e323c6094a5529a29d057f6ec5bab1f8efa952..8e189eca64fea5b386649fb44dcf328a313bbd45 100644 (file)
@@ -316,6 +316,7 @@ void OPENSSL_die(const char *message, const char *file, int line)
 #endif
 }
 
+#if !defined(OPENSSL_CPUID_OBJ)
 /* volatile unsigned char* pointers are there because
  * 1. Accessing a variable declared volatile via a pointer
  *    that lacks a volatile qualifier causes undefined behavior.
@@ -347,3 +348,4 @@ int CRYPTO_memcmp(const volatile void * volatile in_a,
 
     return x;
 }
+#endif