[Pcsclite-cvs-commit] Drivers/ccid/src commands.c,1.3,1.4

rousseau@quantz.debian.org rousseau@quantz.debian.org
Tue, 04 Nov 2003 22:57:21 +0100


Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory quantz:/tmp/cvs-serv3191/src

Modified Files:
	commands.c 
Log Message:
comment out the automatic GET RESPONSE part. I don't think it should be
in the driver. Maybe in pcscd instead?


Index: commands.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/commands.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- commands.c	28 Oct 2003 16:51:37 -0000	1.3
+++ commands.c	4 Nov 2003 21:57:19 -0000	1.4
@@ -401,6 +401,7 @@
 					return_value = CmdXfrBlockShortAPDU(lun, tx_length,
 						tx_buffer, rx_length, rx_buffer);
 
+#if 0
 					if ((return_value == IFD_SUCCESS) && (*rx_length == 2))
 					{
 						/* Buffer for Get Response */
@@ -444,6 +445,7 @@
 								tx_buffer, rx_length, rx_buffer);
 						}
 					}
+#endif
 				}
 				else
 				{