summaryrefslogtreecommitdiffstats
path: root/fips/dh
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-01-27 17:23:43 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-01-27 17:23:43 +0000
commit7cc684f4f7fbcdc5cf4683eaf025d4f915acbf3c (patch)
tree239b582a272e88cb8a3a8e9fad8806380128a2ed /fips/dh
parente36d6b8f7985739a493da0932bd08c9787c84dfc (diff)
Redirect FIPS memory allocation to FIPS_malloc() routine, remove
OpenSSL malloc dependencies.
Diffstat (limited to 'fips/dh')
-rw-r--r--fips/dh/fips_dh_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fips/dh/fips_dh_lib.c b/fips/dh/fips_dh_lib.c
index 4a822cf192..747d949389 100644
--- a/fips/dh/fips_dh_lib.c
+++ b/fips/dh/fips_dh_lib.c
@@ -56,9 +56,12 @@
*
*/
+#define OPENSSL_FIPSAPI
+
#include <string.h>
#include <openssl/bn.h>
#include <openssl/dh.h>
+#include <openssl/fips.h>
/* Minimal FIPS versions of FIPS_dh_new() and FIPS_dh_free(): to
* reduce external dependencies.