[Pcsclite-cvs-commit] r2068 - trunk/PCSC/src/PCSC

Ludovic Rousseau rousseau at costa.debian.org
Fri May 26 14:32:19 UTC 2006


Author: rousseau
Date: 2006-05-26 14:32:15 +0000 (Fri, 26 May 2006)
New Revision: 2068

Modified:
   trunk/PCSC/src/PCSC/pcsclite.h.in
Log:
define MAX_BUFFER_SIZE_EXTENDED to contain up to 64KB of data instead of
just 32KB


Modified: trunk/PCSC/src/PCSC/pcsclite.h.in
===================================================================
--- trunk/PCSC/src/PCSC/pcsclite.h.in	2006-05-26 13:41:15 UTC (rev 2067)
+++ trunk/PCSC/src/PCSC/pcsclite.h.in	2006-05-26 14:32:15 UTC (rev 2068)
@@ -221,8 +221,8 @@
  * to accomodate the transmit_struct
  */
 #define PCSCLITE_MAX_MESSAGE_SIZE	2048	/* Transport msg len */
-#define MAX_BUFFER_SIZE			264	/* Maximum Tx/Rx Buffer */
-#define MAX_BUFFER_SIZE_EXTENDED	(1<<15)	/* enhanced (32K) Tx/Rx Buffer */
+#define MAX_BUFFER_SIZE			264	/* Maximum Tx/Rx Buffer for short APDU */
+#define MAX_BUFFER_SIZE_EXTENDED	(4 + 3 + (1<<16) + 3)	/* enhanced (64K + APDU + Lc + Le) Tx/Rx Buffer */
 #define PCSCLITE_SERVER_ATTEMPTS	5	/* Attempts to reach cl */
 
 /*




More information about the Pcsclite-cvs-commit mailing list