[Pcsclite-cvs-commit] CVS Drivers/ccid/examples

CVS User rousseau ludovic.rousseau@free.fr
Wed, 20 Oct 2004 07:57:38 -0600


Update of /cvsroot/pcsclite/Drivers/ccid/examples
In directory haydn:/tmp/cvs-serv8517

Modified Files:
	scardcontrol.c 
Log Message:
set wPINMaxExtraDigit: set max to 8 (instead of 4) to differentiate it
from min (set to 4)


--- /cvsroot/pcsclite/Drivers/ccid/examples/scardcontrol.c	2004/10/20 13:56:25	1.11
+++ /cvsroot/pcsclite/Drivers/ccid/examples/scardcontrol.c	2004/10/20 13:57:38	1.12
@@ -18,7 +18,7 @@
 */
 
 /*
- * $Id: scardcontrol.c,v 1.11 2004/10/20 13:56:25 rousseau Exp $
+ * $Id: scardcontrol.c,v 1.12 2004/10/20 13:57:38 rousseau Exp $
  */
 
 #include <stdio.h>
@@ -258,7 +258,7 @@
 	bSendBuffer[offset++] = 0x82;	/* bmFormatString */
 	bSendBuffer[offset++] = 0x04;	/* bmPINBlockString (PIN length) */
 	bSendBuffer[offset++] = 0x00;	/* bmPINLengthFormat */
-	bSendBuffer[offset++] = 0x04;	/* wPINMaxExtraDigit: max */
+	bSendBuffer[offset++] = 0x08;	/* wPINMaxExtraDigit: max */
 	bSendBuffer[offset++] = 0x04;	/* wPINMaxExtraDigit: min */
 	bSendBuffer[offset++] = 0x02;	/* bEntryValidationCondition */
 	bSendBuffer[offset++] = 0x00;	/* bNumberMessage */