summaryrefslogtreecommitdiffhomepage
path: root/libtommath/tommath_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/tommath_class.h')
-rw-r--r--libtommath/tommath_class.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libtommath/tommath_class.h b/libtommath/tommath_class.h
index bb4a570..b9d9c0c 100644
--- a/libtommath/tommath_class.h
+++ b/libtommath/tommath_class.h
@@ -1062,6 +1062,12 @@
#undef BN_MP_TOOM_MUL_C
#undef BN_MP_TOOM_SQR_C
+#include "dbmalloc.h"
+#define XMALLOC m_malloc
+#define XFREE m_free_direct
+#define XREALLOC m_realloc
+#define XCALLOC m_calloc
+
/* $Source$ */
/* $Revision$ */
/* $Date$ */