[Pcsclite-cvs-commit] r5808 - /trunk/PCSC/src/atrhandler.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Jun 23 15:45:35 UTC 2011
Author: rousseau
Date: Thu Jun 23 15:45:35 2011
New Revision: 5808
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5808
Log:
ATRDecodeAtr(): revert revision 5804
T=1 cards were no more recognized. Brown paper bag bug.
Modified:
trunk/PCSC/src/atrhandler.c
Modified: trunk/PCSC/src/atrhandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/atrhandler.c?rev=5808&op=diff
==============================================================================
--- trunk/PCSC/src/atrhandler.c (original)
+++ trunk/PCSC/src/atrhandler.c Thu Jun 23 15:45:35 2011
@@ -103,19 +103,11 @@
*/
do
{
- short TAi, TDi; /* Interface characters */
-#ifdef ATR_DEBUG
- short TBi, TCi; /* Interface characters */
-#endif
+ short TAi, TBi, TCi, TDi; /* Interface characters */
TAi = (Y1i & 0x01) ? pucAtr[p++] : -1;
-#ifdef ATR_DEBUG
TBi = (Y1i & 0x02) ? pucAtr[p++] : -1;
TCi = (Y1i & 0x04) ? pucAtr[p++] : -1;
-#else
- p++; /* TBi */
- p++; /* TCi */
-#endif
TDi = (Y1i & 0x08) ? pucAtr[p++] : -1;
#ifdef ATR_DEBUG
More information about the Pcsclite-cvs-commit
mailing list