From e612aec5d9f25a7334d9e2981f1aabf12b889b64 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 2 Mar 2018 00:02:06 +0800 Subject: Attempt to fix m_free for libtomcrypt/libtommath --- libtomcrypt/src/headers/tomcrypt_custom.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libtomcrypt') diff --git a/libtomcrypt/src/headers/tomcrypt_custom.h b/libtomcrypt/src/headers/tomcrypt_custom.h index 6fb0f27..f2351da 100644 --- a/libtomcrypt/src/headers/tomcrypt_custom.h +++ b/libtomcrypt/src/headers/tomcrypt_custom.h @@ -12,12 +12,7 @@ #include "tomcrypt_dropbear.h" -void * m_malloc(size_t size); -/* m_calloc is limited in size, enough for libtomcrypt */ -void * m_calloc(size_t nmemb, size_t size); -void * m_realloc(void* ptr, size_t size); -void m_free_direct(void* ptr); - +#include "dbmalloc.h" #define XMALLOC m_malloc #define XFREE m_free_direct #define XREALLOC m_realloc -- cgit v1.2.1