[git] GnuPG - branch, master, updated. gnupg-2.1.1-30-g16a1330

by Andreas Schwier cvs at cvs.gnupg.org
Tue Jan 13 04:24:23 CET 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  16a1330fa16f6b23e2661c0175c431ab40da45ff (commit)
      from  3197f69fabb54e72d0c8d7fa9dd3743cad390902 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 16a1330fa16f6b23e2661c0175c431ab40da45ff
Author: Andreas Schwier <andreas.schwier at cardcontact.de>
Date:   Fri Jul 18 18:22:26 2014 +0200

    scd: Allow for certificates > 1024 with PC/SC.
    
    * scd/pcsc-wrapper.c (handle_transmit): Enlarge buffer to 4096 too
    allow for larger certificates.
    
    --
    
    Cherry-pick from 5798673156a66f4c39e1d34e358b03539194d57c.
    Forward ported from 2.0.

diff --git a/scd/pcsc-wrapper.c b/scd/pcsc-wrapper.c
index b3060e1..843603a 100644
--- a/scd/pcsc-wrapper.c
+++ b/scd/pcsc-wrapper.c
@@ -715,7 +715,7 @@ handle_transmit (unsigned char *argbuf, size_t arglen)
   long err;
   struct pcsc_io_request_s send_pci;
   pcsc_dword_t recv_len;
-  unsigned char buffer[1024];
+  unsigned char buffer[4096];
 
   /* The apdu should at least be one byte. */
   if (!arglen)

-----------------------------------------------------------------------

Summary of changes:
 scd/pcsc-wrapper.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list