Add missing #ifdef
authorDr. Stephen Henson <steve@openssl.org>
Thu, 22 Mar 2007 13:42:05 +0000 (13:42 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 22 Mar 2007 13:42:05 +0000 (13:42 +0000)
fips-1.0/rand/fips_rand.c

index d9a130f76a16784c012cd8a0287218cc1a772c43..d0930242ef681c8bd4c9f65fb2a34c509644aa92 100644 (file)
@@ -77,6 +77,8 @@
 #endif
 #include <string.h>
 
+#ifdef OPENSSL_FIPS
+
 void *OPENSSL_stderr(void);
 
 #define AES_BLOCK_LENGTH       16
@@ -366,3 +368,5 @@ const RAND_METHOD *FIPS_rand_method(void)
 {
   return &rand_fips_meth;
 }
+
+#endif