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

Ludovic Rousseau rousseau at alioth.debian.org
Tue Feb 20 14:25:41 CET 2007


Author: rousseau
Date: 2007-02-20 14:25:41 +0100 (Tue, 20 Feb 2007)
New Revision: 2405

Modified:
   trunk/Drivers/ccid/examples/scardcontrol.c
Log:
set max pin size to 8 instead of 4


Modified: trunk/Drivers/ccid/examples/scardcontrol.c
===================================================================
--- trunk/Drivers/ccid/examples/scardcontrol.c	2007-02-20 13:23:44 UTC (rev 2404)
+++ trunk/Drivers/ccid/examples/scardcontrol.c	2007-02-20 13:25:41 UTC (rev 2405)
@@ -424,7 +424,7 @@
 	pin_modify -> bmPINLengthFormat = 0x00;
 	pin_modify -> bInsertionOffsetOld = 0x00; 	/* offset from APDU start */
 	pin_modify -> bInsertionOffsetNew = 0x04;	/* offset from APDU start */
-	pin_modify -> wPINMaxExtraDigit = HOST_TO_CCID_16(0x0404);	/* Min Max */
+	pin_modify -> wPINMaxExtraDigit = HOST_TO_CCID_16(0x0408);	/* Min Max */
 	pin_modify -> bConfirmPIN = 0x03;	/* b0 set = confirmation requested */
 									/* b1 set = current PIN entry requested */
 	pin_modify -> bEntryValidationCondition = 0x02;	/* validation key pressed */




More information about the Pcsclite-cvs-commit mailing list