Provide a default OPENSSL_ia32cap_loc for non-Intel platforms where
[openssl.git] / crypto / cryptlib.c
index ef028a92763e234dd1d52452fb2c6eb37bee31c3..7b86e599ff60911000f082c327340379c983d784 100644 (file)
@@ -569,6 +569,8 @@ void OPENSSL_cpuid_setup(void)
 }
 #endif
 
 }
 #endif
 
+#else
+unsigned long *OPENSSL_ia32cap_loc(void) { return NULL; }
 #endif
 #if !defined(OPENSSL_CPUID_SETUP)
 void OPENSSL_cpuid_setup(void) {}
 #endif
 #if !defined(OPENSSL_CPUID_SETUP)
 void OPENSSL_cpuid_setup(void) {}