[Pcsclite-cvs-commit] CVS Drivers/ccid/examples
CVS User rousseau
ludovic.rousseau@free.fr
Wed, 20 Oct 2004 07:56:25 -0600
Update of /cvsroot/pcsclite/Drivers/ccid/examples
In directory haydn:/tmp/cvs-serv25098
Modified Files:
scardcontrol.c
Log Message:
in wPINMaxExtraDigit the bytes order is max,min and not min,max.
The comments were wrong
--- /cvsroot/pcsclite/Drivers/ccid/examples/scardcontrol.c 2004/10/03 12:52:28 1.10
+++ /cvsroot/pcsclite/Drivers/ccid/examples/scardcontrol.c 2004/10/20 13:56:25 1.11
@@ -18,7 +18,7 @@
*/
/*
- * $Id: scardcontrol.c,v 1.10 2004/10/03 12:52:28 rousseau Exp $
+ * $Id: scardcontrol.c,v 1.11 2004/10/20 13:56:25 rousseau Exp $
*/
#include <stdio.h>
@@ -258,8 +258,8 @@
bSendBuffer[offset++] = 0x82; /* bmFormatString */
bSendBuffer[offset++] = 0x04; /* bmPINBlockString (PIN length) */
bSendBuffer[offset++] = 0x00; /* bmPINLengthFormat */
- bSendBuffer[offset++] = 0x04; /* wPINMaxExtraDigit: min */
bSendBuffer[offset++] = 0x04; /* wPINMaxExtraDigit: max */
+ bSendBuffer[offset++] = 0x04; /* wPINMaxExtraDigit: min */
bSendBuffer[offset++] = 0x02; /* bEntryValidationCondition */
bSendBuffer[offset++] = 0x00; /* bNumberMessage */
bSendBuffer[offset++] = 0x04; /* wLangId: english */