Make sure OPENSSL_FIPSCANISTER is visible to ARM assembly language files.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 22 Jul 2011 14:20:50 +0000 (14:20 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 22 Jul 2011 14:20:50 +0000 (14:20 +0000)
Configure
crypto/arm_arch.h

index 885970b..8b5efd6 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1518,6 +1518,7 @@ if ($fips)
        if ($fipscanisterinternal eq "y")
                {
                $openssl_other_defines.="#define OPENSSL_FIPSCANISTER\n";
+               $cflags = "-DOPENSSL_FIPSCANISTER $cflags";
                }
        }
 
index 15027ed..861e3de 100644 (file)
@@ -35,7 +35,7 @@
 #  endif
 # endif
 
-#ifdef OPENSSL_FIPSCANISTERBUILD
+#ifdef OPENSSL_FIPSCANISTER
 #include <openssl/fipssyms.h>
 #endif