mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
First bits of a card support backport from 1.9. It is not enabled by
default and tehre is not yet much more than a new configure option. * configure.ac (LIBUSB_LIBS,HAVE_LIBUSB): Check for Libusb. (--enable-card-support): New. * sign.c (do_sign) [ENABLE_CARD_SUPPORT]: Divert to card. * cardglue.c, cardglue.h: New. * Makefile.am (gpg_LDADD): Added. (card_support_sources): New. * memory.h (xmalloc): Define xmalloc macros in terms of m_alloc.
This commit is contained in:
parent
e70e41612f
commit
20ed53942a
9 changed files with 278 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-09-27 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* memory.h (xmalloc): Define xmalloc macros in terms of m_alloc.
|
||||
|
||||
2003-09-04 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* cipher.h: Drop TIGER/192 support.
|
||||
|
|
|
@ -90,4 +90,13 @@ unsigned secmem_get_flags(void);
|
|||
EXTERN_UNLESS_MAIN_MODULE int memory_debug_mode;
|
||||
EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
|
||||
|
||||
/* To prepare a migration to the xmalloc suite of function as used in
|
||||
1.9 we define a couple of macros. */
|
||||
#define xmalloc(n) m_alloc ((n))
|
||||
#define xcalloc(n,m) m_alloc_clear ((n)*(m))
|
||||
#define xmalloc_secure(n) m_alloc_secure (n)
|
||||
#define xcalloc_secure(n) m_alloc_secure_clear ((n)*(m))
|
||||
#define xfree(a) m_free (a)
|
||||
|
||||
|
||||
#endif /*G10_MEMORY_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue