First bits of a card support backport from 1.9. It is not enabled by
authorWerner Koch <wk@gnupg.org>
Sat, 27 Sep 2003 19:37:53 +0000 (19:37 +0000)
committerWerner Koch <wk@gnupg.org>
Sat, 27 Sep 2003 19:37:53 +0000 (19:37 +0000)
commit20ed53942acc3b30576bae70826cced13bc84f4e
treeec1060581a6d035dc7a292b15e77aef90001054a
parente70e41612f428e4cb82109dd0637b09be4dcedfd
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.
ChangeLog
configure.ac
g10/ChangeLog
g10/Makefile.am
g10/cardglue.c [new file with mode: 0644]
g10/cardglue.h [new file with mode: 0644]
g10/sign.c
include/ChangeLog
include/memory.h