diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-01-27 17:23:43 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-01-27 17:23:43 +0000 |
commit | 7cc684f4f7fbcdc5cf4683eaf025d4f915acbf3c (patch) | |
tree | 239b582a272e88cb8a3a8e9fad8806380128a2ed /crypto/bn/bn_recp.c | |
parent | e36d6b8f7985739a493da0932bd08c9787c84dfc (diff) |
Redirect FIPS memory allocation to FIPS_malloc() routine, remove
OpenSSL malloc dependencies.
Diffstat (limited to 'crypto/bn/bn_recp.c')
-rw-r--r-- | crypto/bn/bn_recp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/bn/bn_recp.c b/crypto/bn/bn_recp.c index 2e8efb8dae..dde27ae71a 100644 --- a/crypto/bn/bn_recp.c +++ b/crypto/bn/bn_recp.c @@ -60,6 +60,11 @@ #include "cryptlib.h" #include "bn_lcl.h" +#define OPENSSL_FIPSAPI +#ifdef OPENSSL_FIPS +#include <openssl/fips.h> +#endif + void BN_RECP_CTX_init(BN_RECP_CTX *recp) { BN_init(&(recp->N)); |