[Pcsclite-cvs-commit] Drivers/ccid/src ccid.c,1.1,1.2

rousseau@quantz.debian.org rousseau@quantz.debian.org
Tue, 16 Sep 2003 16:19:14 +0200


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

Modified Files:
	ccid.c 
Log Message:
Do not switch to APDU mode since it also swicth in EMV mode and may not
work with non EMV cards


Index: ccid.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/ccid.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ccid.c	10 Sep 2003 09:15:51 -0000	1.1
+++ ccid.c	16 Sep 2003 14:19:11 -0000	1.2
@@ -45,6 +45,11 @@
 			ccid_descriptor->dwFeatures |= CCID_CLASS_TPDU;
 			break;
 
+#if 0
+			/*
+			 * Do not switch to APDU mode since it also swicth in EMV mode and
+			 * may not work with non EMV cards
+			 */
 		case GEMPCKEY:
 		case GEMPCTWIN:
 			/* Reader announces TPDU but can do APDU */
@@ -54,6 +59,7 @@
 				ccid_descriptor->dwFeatures |= CCID_CLASS_SHORT_APDU;
 			}
 			break;
+#endif
 	}
 
 	return 0;