[Pcsclite-cvs-commit] CVS HandlerTest/Host

CVS User rousseau ludovic.rousseau@free.fr
Tue, 21 Sep 2004 11:15:43 -0600


Update of /cvsroot/pcsclite/HandlerTest/Host
In directory haydn:/tmp/cvs-serv14041

Modified Files:
	handler_test.c 
Log Message:
do not exit if IFDHSetProtocolParameters() returns IFD_NOT_SUPPORTED


--- /cvsroot/pcsclite/HandlerTest/Host/handler_test.c	2004/09/21 17:08:57	1.17
+++ /cvsroot/pcsclite/HandlerTest/Host/handler_test.c	2004/09/21 17:15:42	1.18
@@ -18,7 +18,7 @@
 */
 
 /*
- * $Id: handler_test.c,v 1.17 2004/09/21 17:08:57 rousseau Exp $
+ * $Id: handler_test.c,v 1.18 2004/09/21 17:15:42 rousseau Exp $
  */
 
 #include <stdio.h>
@@ -341,7 +341,7 @@
 		t1 ? SCARD_PROTOCOL_T1 : SCARD_PROTOCOL_T0,
 		0, 0, 0, 0);
 	PCSC_ERROR("IFDHSetProtocolParameters");
-	if (IFD_SUCCESS != rv)
+	if ((IFD_SUCCESS != rv) && (IFD_NOT_SUPPORTED != rv))
 		goto end;
 
 	memset(&SendPci, 0, sizeof(SendPci));