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 63de186..b45bc24 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 3280595..5d323d0 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 329efcd..ccdd31e 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__)