diff options
author | Werner Koch <wk@gnupg.org> | 1998-06-15 17:41:04 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-06-15 17:41:04 +0200 |
commit | 6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2 (patch) | |
tree | 7c4a888893a91b59753b3d89e59832f8c24ba039 /util | |
parent | gnupg extension are now working (diff) | |
download | gnupg2-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.tar.xz gnupg2-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.zip |
extensions are now working and fixed a lot of bugs
Diffstat (limited to 'util')
-rw-r--r-- | util/g10u.c | 4 | ||||
-rw-r--r-- | util/memory.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/util/g10u.c b/util/g10u.c index 1b0bc9d4c..16e235e09 100644 --- a/util/g10u.c +++ b/util/g10u.c @@ -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 ); } diff --git a/util/memory.c b/util/memory.c index e3f45be5b..013bd55cc 100644 --- a/util/memory.c +++ b/util/memory.c @@ -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 ); + } /**************** |