[Pcsclite-cvs-commit] r5789 - /trunk/Drivers/ccid/src/commands.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Mon Jun 13 08:10:59 UTC 2011


Author: rousseau
Date: Mon Jun 13 08:10:58 2011
New Revision: 5789

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5789
Log:
SecurePINModify(): update comment for a GemPC pinpad bug circumvention
hack

Modified:
    trunk/Drivers/ccid/src/commands.c

Modified: trunk/Drivers/ccid/src/commands.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/commands.c?rev=5789&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/commands.c (original)
+++ trunk/Drivers/ccid/src/commands.c Mon Jun 13 08:10:58 2011
@@ -625,8 +625,10 @@
 			TxBuffer[10] = 0x02;	/* validation key pressed */
 		}
 
-		/* the reader does not support any other value than 3 for the number
-		 * of messages */
+		/* The reader requests a value for bMsgIndex2 and bMsgIndex3
+		 * even if they should not be present. So we fake
+		 * bNumberMessage=3.  The real number of messages will be
+		 * corrected later in the code */
 		bNumberMessage = TxBuffer[11];
 		if (0x03 != TxBuffer[11])
 		{




More information about the Pcsclite-cvs-commit mailing list