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 | 6d274cc097cb8d28be375c9c2b7135c133f3cbe2 (patch) | |
tree | 1f55953334c32b8fd0dca2f222a58c52f3231e9d /libtomcrypt/src/headers/tomcrypt_custom.h | |
parent | 4cb32aeff3b9f7f3ba6ef1d08b4d961fd99b62b3 (diff) | |
download | dropbear-6d274cc097cb8d28be375c9c2b7135c133f3cbe2.tar.gz |
Attempt to fix m_free for libtomcrypt/libtommath
Diffstat (limited to 'libtomcrypt/src/headers/tomcrypt_custom.h')
-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 |