We currently define FIPS, not OPENSSL_FIPS. The reason for this is
authorRichard Levitte <levitte@openssl.org>
Wed, 10 Sep 2003 09:05:06 +0000 (09:05 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 10 Sep 2003 09:05:06 +0000 (09:05 +0000)
(probably) that FIPS is an entirely internal macro, and is not
accessible by third-party authors.

fips/dsa/fips_dsatest.c
fips/rand/fips_randtest.c

index be794005ad51b7104cd4d795edf6c16625d2622b..7a54d38c789758b3ead5d940b444fc0551eb665f 100644 (file)
@@ -74,7 +74,7 @@
 #include <openssl/fips.h>
 #include <openssl/fips_rand.h>
 
-#if defined(OPENSSL_NO_DSA) || !defined(OPENSSL_FIPS)
+#if defined(OPENSSL_NO_DSA) || !defined(FIPS)
 int main(int argc, char *argv[])
 {
     printf("No FIPS DSA support\n");
index ca47ca4ad9edb0d0523d0ea21c1c62f287086cbe..5fcee19d5247632393e956a839be031aa916d19e 100644 (file)
 
 #include "../e_os.h"
 
-#ifndef OPENSSL_FIPS
+#ifndef FIPS
 int main(int argc, char *argv[])
 {
     printf("No FIPS RAND support\n");