Include openssl/fips.h outside of the check for FIPS, so make depend
authorRichard Levitte <levitte@openssl.org>
Wed, 10 Sep 2003 09:06:01 +0000 (09:06 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 10 Sep 2003 09:06:01 +0000 (09:06 +0000)
doesn't differ between FIPS and non-FIPS modes.

fips/sha1/fips_sha1test.c

index 43eb8aa344e4801f6e81fa9f5ec6540ff727071a..f4fa43d2496b6a9d0d4aa235273f4cf9b3cf1f95 100644 (file)
@@ -5,6 +5,7 @@
 #include <stdlib.h>
 #include <openssl/sha.h>
 #include <openssl/err.h>
+#include <openssl/fips.h>
 
 #ifndef FIPS
 int main(int argc, char *argv[])
@@ -13,7 +14,6 @@ int main(int argc, char *argv[])
     return(0);
 }
 #else
-#include <openssl/fips.h>
 
 #define MAX_TEST_BITS 103432