Redirect FIPS memory allocation to FIPS_malloc() routine, remove OpenSSL malloc dependencies.
diff --git a/fips/dsa/fips_dsa_lib.c b/fips/dsa/fips_dsa_lib.c index 2545966..06f8cab 100644 --- a/fips/dsa/fips_dsa_lib.c +++ b/fips/dsa/fips_dsa_lib.c
@@ -56,9 +56,12 @@ * */ +#define OPENSSL_FIPSAPI + #include <string.h> #include <openssl/dsa.h> #include <openssl/bn.h> +#include <openssl/fips.h> /* Minimal FIPS versions of FIPS_dsa_new() and FIPS_dsa_free: to * reduce external dependencies.