[Pcsclite-cvs-commit] PCSC/src winscard_scf.c,1.8,1.9

corcoran-guest@quantz.debian.org corcoran-guest@quantz.debian.org
Thu, 11 Dec 2003 20:56:53 +0100


Update of /cvsroot/pcsclite/PCSC/src
In directory quantz:/tmp/cvs-serv12804

Modified Files:
	winscard_scf.c 
Log Message:
Index: winscard_scf.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/winscard_scf.c,v
retrieving revision 1.8
diff -r1.8 winscard_scf.c
52c52
<   BYTE bufferLength;
---
>   LONG bufferLength;

The byte buffer length would break any APDU over 255 bytes.



Index: winscard_scf.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/winscard_scf.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- winscard_scf.c	21 Oct 2003 21:00:20 -0000	1.8
+++ winscard_scf.c	11 Dec 2003 19:56:50 -0000	1.9
@@ -49,7 +49,7 @@
 static struct _psTransmitMap {
   BYTE Buffer[266];
   int isResponseCached;
-  BYTE bufferLength;
+  LONG bufferLength;
 } psTransmitMap[PCSCLITE_MAX_APPLICATION_CONTEXTS];
 
 /* Channel Map to manage Card Connections. */