From 7edfe6745670d2f4d53d96f268f2dba11326a51c Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 27 Jan 2011 19:10:56 +0000 Subject: Move all FIPSAPI renames into fips.h header file, include early in crypto.h if needed. Modify source tree to handle change. --- crypto/bn/bn_rand.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'crypto/bn/bn_rand.c') diff --git a/crypto/bn/bn_rand.c b/crypto/bn/bn_rand.c index 070b1e4ed2..215285b90f 100644 --- a/crypto/bn/bn_rand.c +++ b/crypto/bn/bn_rand.c @@ -109,17 +109,14 @@ * */ +#define OPENSSL_FIPSAPI + #include #include #include "cryptlib.h" #include "bn_lcl.h" #include -#define OPENSSL_FIPSAPI -#ifdef OPENSSL_FIPS -#include -#endif - static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom) { unsigned char *buf=NULL; -- cgit v1.2.3