[Pcsclite-cvs-commit] r1984 - trunk/Drivers/ccid/src
    Ludovic Rousseau 
    rousseau at costa.debian.org
       
    Mon Mar 27 16:39:50 CEST 2006
    
    
  
Author: rousseau
Date: 2006-03-27 14:39:48 +0000 (Mon, 27 Mar 2006)
New Revision: 1984
Modified:
   trunk/Drivers/ccid/src/commands.c
Log:
SecurePINVerify(): debug a debug message. use dw2i(TxBuffer, 15) instead
of just the first byte TxBuffer[15]
Modified: trunk/Drivers/ccid/src/commands.c
===================================================================
--- trunk/Drivers/ccid/src/commands.c	2006-03-27 14:38:35 UTC (rev 1983)
+++ trunk/Drivers/ccid/src/commands.c	2006-03-27 14:39:48 UTC (rev 1984)
@@ -190,7 +190,7 @@
 
 	if (dw2i(TxBuffer, 15) + 19 != TxLength) /* ulDataLength field coherency */
 	{
-		DEBUG_INFO3("Wrong lengths: %d %d", TxBuffer[15] + 19, TxLength);
+		DEBUG_INFO3("Wrong lengths: %d %d", dw2i(TxBuffer, 15) + 19, TxLength);
 		*RxLength = 0;
 		return IFD_NOT_SUPPORTED;
 	}
    
    
More information about the Pcsclite-cvs-commit
mailing list