1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

scd: Allow for certificates > 1024 with PC/SC.

* scd/pcsc-wrapper.c (handle_transmit): Enlarge buffer to 4096 too
allow for larger certificates.
This commit is contained in:
Andreas Schwier 2014-07-18 18:22:26 +02:00 committed by Werner Koch
parent 9a1e195348
commit 5798673156

View File

@ -714,7 +714,7 @@ handle_transmit (unsigned char *argbuf, size_t arglen)
long err; long err;
struct pcsc_io_request_s send_pci; struct pcsc_io_request_s send_pci;
pcsc_dword_t recv_len; pcsc_dword_t recv_len;
unsigned char buffer[1024]; unsigned char buffer[4096];
/* The apdu should at least be one byte. */ /* The apdu should at least be one byte. */
if (!arglen) if (!arglen)