GNUPG-1-9-BRANCH gnupg/scd (5 files)

cvs user werner cvs@cvs.gnupg.org
Mon, 18 Aug 2003 19:34:25 +0200


    Date: Monday, August 18, 2003 @ 19:34:25
  Author: werner
    Path: /cvs/gnupg/gnupg/scd
     Tag: GNUPG-1-9-BRANCH

Modified: ChangeLog Makefile.am apdu.c scdaemon.c scdaemon.h

* Makefile.am: Add OPENSC_LIBS to all programs. 

* scdaemon.c, scdaemon.h: New option --disable-opensc.
* card.c (card_open): Implement it.
* apdu.c (open_osc_reader, osc_send_apdu): New.
(apdu_open_reader) [HAVE_OPENSC]: Use the opensc driver if not
disabled.
(error_string) [HAVE_OPENSC]: Use sc_strerror.
(send_apdu) [HAVE_OPENSC]: Call osc_apdu_send.


-------------+
 ChangeLog   |   17 +++-
 Makefile.am |    4 
 apdu.c      |  237 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 scdaemon.c  |   12 ++
 scdaemon.h  |    1 
 5 files changed, 261 insertions(+), 10 deletions(-)