Declaration correction in pcsc-wrapper.c

Bob Dunlop bob at
Wed Sep 6 15:21:34 CEST 2006


Just spotted an incorrect declaration of pcsc_end_transaction() in
scd/pcsc-wrapper.c.  The same error occurs in acd/apdu.c

The function is currently unused in the standard code so the fix is
only good house keeping.  I of course found this when I tried to
use the function in some additional code I'm working on.

--- pcsc-wrapper.c-orig	2006-09-06 11:43:18.000000000 +0000
+++ pcsc-wrapper.c	2006-09-06 13:02:34.000000000 +0000
@@ -162,7 +169,8 @@
                       unsigned long *r_protocol,
                       unsigned char *atr, unsigned long *atrlen);
 long (* pcsc_begin_transaction) (unsigned long card);
-long (* pcsc_end_transaction) (unsigned long card);
+long (* pcsc_end_transaction) (unsigned long card,
+                               unsigned long disposition);
 long (* pcsc_transmit) (unsigned long card,
                         const pcsc_io_request_t send_pci,
                         const unsigned char *send_buffer,
        Bob Dunlop

More information about the Gnupg-devel mailing list