[Pcsclite-cvs-commit] r1713 - trunk/Drivers/ccid/examples

Ludovic Rousseau rousseau at costa.debian.org
Wed Nov 16 09:11:12 UTC 2005


Author: rousseau
Date: 2005-11-16 09:11:10 +0000 (Wed, 16 Nov 2005)
New Revision: 1713

Modified:
   trunk/Drivers/ccid/examples/scardcontrol.c
Log:
Modify PIN: use 0x03 for bNumberMessage since the GemPC Pinpad rejects
any other valu. The SPR 532 needs 0 here


Modified: trunk/Drivers/ccid/examples/scardcontrol.c
===================================================================
--- trunk/Drivers/ccid/examples/scardcontrol.c	2005-11-16 09:07:13 UTC (rev 1712)
+++ trunk/Drivers/ccid/examples/scardcontrol.c	2005-11-16 09:11:10 UTC (rev 1713)
@@ -422,7 +422,7 @@
 	pin_modify -> bConfirmPIN = 0x03;	/* b0 set = confirmation requested */
 									/* b1 set = current PIN entry requested */
 	pin_modify -> bEntryValidationCondition = 0x02;	/* validation key pressed */
-	pin_modify -> bNumberMessage = 0x00;
+	pin_modify -> bNumberMessage = 0x03;
 	pin_modify -> wLangId = HOST_TO_CCID_16(0x0904);
 	pin_modify -> bMsgIndex1 = 0x00;
 	pin_modify -> bMsgIndex2 = 0x00;




More information about the Pcsclite-cvs-commit mailing list