aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_gen.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-01-27 19:10:56 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-01-27 19:10:56 +0000
commit7edfe6745670d2f4d53d96f268f2dba11326a51c (patch)
tree781e222d8af65fec366d3af0d132022a62c95435 /crypto/rsa/rsa_gen.c
parentd8ad2e6112d4757eeca8d6dac9cabf9fed330321 (diff)
downloadopenssl-7edfe6745670d2f4d53d96f268f2dba11326a51c.tar.gz
Move all FIPSAPI renames into fips.h header file, include early in
crypto.h if needed. Modify source tree to handle change.
Diffstat (limited to 'crypto/rsa/rsa_gen.c')
-rw-r--r--crypto/rsa/rsa_gen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_gen.c b/crypto/rsa/rsa_gen.c
index e82a81b03a..90d6b3cd7c 100644
--- a/crypto/rsa/rsa_gen.c
+++ b/crypto/rsa/rsa_gen.c
@@ -62,6 +62,8 @@
* - Geoff
*/
+#define OPENSSL_FIPSAPI
+
#include <stdio.h>
#include <time.h>
#include "cryptlib.h"
@@ -70,7 +72,6 @@
#ifdef OPENSSL_FIPS
-#define OPENSSL_FIPSAPI
#include <openssl/fips.h>
#include <openssl/evp.h>