mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
extensions are now working and fixed a lot of bugs
This commit is contained in:
parent
e662bf708b
commit
6e1ca6b80f
40 changed files with 350 additions and 454 deletions
|
@ -25,6 +25,10 @@
|
|||
#define _g10lib_INTERNAL 1
|
||||
#include "g10lib.h"
|
||||
|
||||
|
||||
const char *g10u_revision_string(int dummy) { return "$Revision$"; }
|
||||
|
||||
|
||||
void *g10_malloc( size_t n ) { return m_alloc( n ); }
|
||||
void *g10_calloc( size_t n ) { return m_alloc_clear( n ); }
|
||||
void *g10_malloc_secure( size_t n ) { return m_alloc_secure( n ); }
|
||||
|
|
|
@ -127,7 +127,7 @@ add_entry( byte *p, unsigned n, int mode, const char *info, const char *by )
|
|||
index = memtbl_len++;
|
||||
else {
|
||||
struct memtbl_entry *e;
|
||||
/* look for a used entry in the table. We take the first one,
|
||||
/* look for a used entry in the table. We take the first one,
|
||||
* so that freed entries remain as long as possible in the table
|
||||
* (free appends a new one)
|
||||
*/
|
||||
|
@ -338,6 +338,7 @@ out_of_core(size_t n, int secure)
|
|||
{
|
||||
log_fatal("out of %s memory while allocating %u bytes\n",
|
||||
secure? "secure":"" ,(unsigned)n );
|
||||
|
||||
}
|
||||
|
||||
/****************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue