[Pcsclite-cvs-commit] r1855 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at costa.debian.org
Mon Feb 6 15:08:11 UTC 2006


Author: rousseau
Date: 2006-02-06 15:08:10 +0000 (Mon, 06 Feb 2006)
New Revision: 1855

Modified:
   trunk/Drivers/ccid/src/ifdhandler.c
Log:
IFDHSetProtocolParameters(): store the card protocol in
ccid_desc->cardProtocol


Modified: trunk/Drivers/ccid/src/ifdhandler.c
===================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c	2006-02-06 15:07:32 UTC (rev 1854)
+++ trunk/Drivers/ccid/src/ifdhandler.c	2006-02-06 15:08:10 UTC (rev 1855)
@@ -732,6 +732,9 @@
 		DEBUG_COMM3("T=1: IFSC=%d, IFSD=%d", t1->ifsc, t1->ifsd);
 	}
 
+	/* store used protocol for use by the secure commands (verify/change PIN) */
+	ccid_desc->cardProtocol = Protocol;
+
 	return IFD_SUCCESS;
 } /* IFDHSetProtocolParameters */
 




More information about the Pcsclite-cvs-commit mailing list