CVS CFlexPlugin/src

CVS User corcoran-guest ludovic.rousseau@free.fr
Fri, 17 Sep 2004 12:58:44 -0600


Update of /cvsroot/muscleplugins/CFlexPlugin/src
In directory haydn:/tmp/cvs-serv12244

Modified Files:
	cryptoflex.c 
Log Message:
Vinnie patch convertsw 6a86 to object-not-found

--- /cvsroot/muscleplugins/CFlexPlugin/src/cryptoflex.c	2003/11/29 16:14:29	1.48
+++ /cvsroot/muscleplugins/CFlexPlugin/src/cryptoflex.c	2004/09/17 18:58:44	1.49
@@ -2157,7 +2157,7 @@
       
       if ( transmitBuffer.apduResponseSize == 2 ) {
 	/* PG: TODO: define a constant here */
-	if ( convertSW(apduResponse) == 0x6A82 ) {
+	if ( convertSW(apduResponse) == MSC_OBJECT_NOT_FOUND ) {
 	  /* Must have finished */
 	  return MSC_SEQUENCE_END;
 	} else {