SPARC assembler pack: fix FIPS linking errors.
authorAndy Polyakov <appro@openssl.org>
Fri, 12 Aug 2011 21:38:19 +0000 (21:38 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 12 Aug 2011 21:38:19 +0000 (21:38 +0000)
crypto/bn/asm/sparcv8plus.S
crypto/des/asm/des_enc.m4
crypto/sparccpuid.S

index 63de1860f2850ed50d7507d1f2df00f0e36bc038..b45bc24088761025380b3f52bfeccd95d1ec2967 100644 (file)
  *         }
  */
 
+#ifdef OPENSSL_FIPSCANISTER
+#include <openssl/fipssyms.h>
+#endif
+
 #if defined(__SUNPRO_C) && defined(__sparcv9)
   /* They've said -xarch=v9 at command line */
   .register    %g2,#scratch
index 328059547820c5cea0b5fdf7d22a6b9cc6dbcbce..5d323d02c565ed91b2b8a76425cb12ac2f084047 100644 (file)
 .ident "des_enc.m4 2.1"
 .file  "des_enc-sparc.S"
 
+#ifdef OPENSSL_FIPSCANISTER
+#include <openssl/fipssyms.h>
+#endif
+
 #if defined(__SUNPRO_C) && defined(__sparcv9)
 # define ABI64  /* They've said -xarch=v9 at command line */
 #elif defined(__GNUC__) && defined(__arch64__)
index 329efcdd3d0d164d4744e53172abb7e9e68eb3c5..ccdd31e0411ef9423e50942b8042fa3b3f10658c 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef OPENSSL_FIPSCANISTER
+#include <openssl/fipssyms.h>
+#endif
+
 #if defined(__SUNPRO_C) && defined(__sparcv9)
 # define ABI64  /* They've said -xarch=v9 at command line */
 #elif defined(__GNUC__) && defined(__arch64__)