[Pcsclite-cvs-commit] r4925 - /trunk/Drivers/ccid/src/ifdhandler.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri May 7 12:26:23 UTC 2010
Author: rousseau
Date: Fri May 7 12:26:20 2010
New Revision: 4925
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4925
Log:
IFDHControl(): add comments
Modified:
trunk/Drivers/ccid/src/ifdhandler.c
Modified: trunk/Drivers/ccid/src/ifdhandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ifdhandler.c?rev=4925&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c (original)
+++ trunk/Drivers/ccid/src/ifdhandler.c Fri May 7 12:26:20 2010
@@ -1400,12 +1400,13 @@
/* bEntryValidationCondition */
RxBuffer[p++] = PCSCv2_PART10_PROPERTY_bEntryValidationCondition;
- RxBuffer[p++] = 1;
+ RxBuffer[p++] = 1; /* length */
RxBuffer[p++] = 0x07;
/* bTimeOut2 */
RxBuffer[p++] = PCSCv2_PART10_PROPERTY_bTimeOut2;
- RxBuffer[p++] = 1;
+ RxBuffer[p++] = 1; /* length */
+ /* IFD does not distinguish bTimeOut from bTimeOut2 */
RxBuffer[p++] = 0x00;
/* sFirmwareID */
@@ -1433,13 +1434,13 @@
{
/* bMinPINSize */
RxBuffer[p++] = PCSCv2_PART10_PROPERTY_bMinPINSize;
- RxBuffer[p++] = 1;
- RxBuffer[p++] = 4;
+ RxBuffer[p++] = 1; /* length */
+ RxBuffer[p++] = 4; /* min PIN size */
/* bMaxPINSize */
RxBuffer[p++] = PCSCv2_PART10_PROPERTY_bMaxPINSize;
- RxBuffer[p++] = 1;
- RxBuffer[p++] = 8;
+ RxBuffer[p++] = 1; /* length */
+ RxBuffer[p++] = 8; /* max PIN size */
}
*pdwBytesReturned = p;
More information about the Pcsclite-cvs-commit
mailing list