mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
* util.h (xtrycalloc_secure,xtrymalloc_secure): New.
This commit is contained in:
parent
d3c05ee44c
commit
438ece068b
@ -1,3 +1,7 @@
|
|||||||
|
2004-05-12 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* util.h (xtrycalloc_secure,xtrymalloc_secure): New.
|
||||||
|
|
||||||
2004-05-11 Werner Koch <wk@gnupg.org>
|
2004-05-11 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
* sysutils.c (disable_core_dumps): Only set the current limit.
|
* sysutils.c (disable_core_dumps): Only set the current limit.
|
||||||
|
@ -37,9 +37,11 @@
|
|||||||
#include "../jnlib/dotlock.h"
|
#include "../jnlib/dotlock.h"
|
||||||
#include "../jnlib/utf8conv.h"
|
#include "../jnlib/utf8conv.h"
|
||||||
|
|
||||||
/* handy malloc macros - use only them */
|
/* Handy malloc macros - please use only them. */
|
||||||
#define xtrymalloc(a) gcry_malloc ((a))
|
#define xtrymalloc(a) gcry_malloc ((a))
|
||||||
|
#define xtrymalloc_secure(a) gcry_malloc_secure ((a))
|
||||||
#define xtrycalloc(a,b) gcry_calloc ((a),(b))
|
#define xtrycalloc(a,b) gcry_calloc ((a),(b))
|
||||||
|
#define xtrycalloc_secure(a,b) gcry_calloc_secure ((a),(b))
|
||||||
#define xtryrealloc(a,b) gcry_realloc ((a),(b))
|
#define xtryrealloc(a,b) gcry_realloc ((a),(b))
|
||||||
#define xtrystrdup(a) gcry_strdup ((a))
|
#define xtrystrdup(a) gcry_strdup ((a))
|
||||||
#define xfree(a) gcry_free ((a))
|
#define xfree(a) gcry_free ((a))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user