diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-03-02 00:02:06 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-03-02 00:02:06 +0800 |
commit | e612aec5d9f25a7334d9e2981f1aabf12b889b64 (patch) | |
tree | 211d3a37054da7b583544353018acb64441703c5 /libtomcrypt | |
parent | 5bd0c0d25aa4d15f6b034c015ef8ecd501947127 (diff) |
Attempt to fix m_free for libtomcrypt/libtommath
Diffstat (limited to 'libtomcrypt')
-rw-r--r-- | libtomcrypt/src/headers/tomcrypt_custom.h | 7 |
1 files changed, 1 insertions, 6 deletions
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 |