comparison dbmalloc.c @ 1692:1051e4eea25a

Update LibTomMath to 1.2.0 (#84) * update C files * update other files * update headers * update makefiles * remove mp_set/get_double() * use ltm 1.2.0 API * update ltm_desc * use bundled tommath if system-tommath is too old * XMALLOC etc. were changed to MP_MALLOC etc.
author Steffen Jaeckel <s@jaeckel.eu>
date Tue, 26 May 2020 17:36:47 +0200
parents c42e8ff42bd1
children
comparison
equal deleted inserted replaced
1691:2d3745d58843 1692:1051e4eea25a
178 remove_alloc(header); 178 remove_alloc(header);
179 free(header); 179 free(header);
180 } 180 }
181 181
182 #endif /* DROPBEAR_TRACKING_MALLOC */ 182 #endif /* DROPBEAR_TRACKING_MALLOC */
183
184 void * m_realloc_ltm(void* ptr, size_t oldsize, size_t newsize) {
185 (void)oldsize;
186 return m_realloc(ptr, newsize);
187 }
188
189 void m_free_ltm(void *mem, size_t size) {
190 (void)size;
191 m_free_direct(mem);
192 }