Redirect FIPS memory allocation to FIPS_malloc() routine, remove
[openssl.git] / fips / dh / fips_dh_lib.c
index 4a822cf192506ee90ecfba3441482a38cb27c9d1..747d949389c22b536a0dcaa22ef0d0cd3d7d73f1 100644 (file)
  *
  */
 
+#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.