From 2ecea8ae4c8b3776694b5c142123f690eb9d07ae Mon Sep 17 00:00:00 2001 From: frankmorgner Date: Tue, 24 Jan 2012 22:11:11 +0000 Subject: [PATCH] raise temporary buffer size to the maximum possible for pace git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@694 96b47cad-a561-4643-ad3b-153ac7d7599c --- ccid/patches/ccid-1.3.11.patch | 2 +- ccid/patches/ccid-1.4.4.patch | 2 +- ccid/patches/ccid-1.4.5.patch | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ccid/patches/ccid-1.3.11.patch b/ccid/patches/ccid-1.3.11.patch index bfbbe07..dca7268 100644 --- a/ccid/patches/ccid-1.3.11.patch +++ b/ccid/patches/ccid-1.3.11.patch @@ -356,7 +356,7 @@ Index: ccid-1.3.11/src/commands.c + unsigned char RxBuffer[], unsigned int *RxLength, + unsigned char bPINOperation) +{ -+ unsigned char cmd[CMD_BUF_SIZE]; ++ unsigned char cmd[11+0xffff]; + unsigned int length; + _ccid_descriptor *ccid_descriptor = get_ccid_descriptor(reader_index); + status_t res; diff --git a/ccid/patches/ccid-1.4.4.patch b/ccid/patches/ccid-1.4.4.patch index e9b50c1..8c2abd1 100644 --- a/ccid/patches/ccid-1.4.4.patch +++ b/ccid/patches/ccid-1.4.4.patch @@ -353,7 +353,7 @@ Index: ccid-1.4.4/src/commands.c + unsigned char RxBuffer[], unsigned int *RxLength, + unsigned char bPINOperation) +{ -+ unsigned char cmd[CMD_BUF_SIZE]; ++ unsigned char cmd[11+0xffff]; + unsigned int length; + _ccid_descriptor *ccid_descriptor = get_ccid_descriptor(reader_index); + status_t res; diff --git a/ccid/patches/ccid-1.4.5.patch b/ccid/patches/ccid-1.4.5.patch index b54730d..17b9813 100644 --- a/ccid/patches/ccid-1.4.5.patch +++ b/ccid/patches/ccid-1.4.5.patch @@ -353,7 +353,7 @@ Index: ccid-1.4.5/src/commands.c + unsigned char RxBuffer[], unsigned int *RxLength, + unsigned char bPINOperation) +{ -+ unsigned char cmd[CMD_BUF_SIZE]; ++ unsigned char cmd[11+0xffff]; + unsigned int length; + _ccid_descriptor *ccid_descriptor = get_ccid_descriptor(reader_index); + status_t res;