[Pcsclite-cvs-commit] Drivers/ccid/src/towitoko pps.c,1.7,1.8
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/pcsclite/Drivers/ccid/src/towitoko
In directory haydn:/tmp/cvs-serv4611/src/towitoko
Modified Files:
pps.c
Log Message:
PPS_Exchange(): do not recalculate the PPS length from the received PPS
but take it from the number of bytes actually received (it may not be
a PPS)
Index: pps.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/towitoko/pps.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- pps.c 30 Jun 2004 14:05:38 -0000 1.7
+++ pps.c 4 Aug 2004 19:42:18 -0000 1.8
@@ -62,8 +62,6 @@
if (CCID_Receive (lun, &len_confirm, confirm) != IFD_SUCCESS)
return PPS_ICC_ERROR;
- len_confirm = PPS_GetLength (confirm);
-
DEBUG_XXD ("PPS: Receivig confirm: ", confirm, len_confirm);
if (!PPS_Match (params, len_request, confirm, len_confirm))