[Pcsclite-cvs-commit] r6630 - /trunk/Drivers/ccid/src/parse.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Wed May 15 13:02:09 UTC 2013
Author: rousseau
Date: Wed May 15 13:02:08 2013
New Revision: 6630
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6630
Log:
Do not exit if a device with class 0xFF is not accessible
Maybe the device is NOT a CCID reader and the parsing should continue.
Thanks to Jaidev Bhattacharjee for the bug report
Modified:
trunk/Drivers/ccid/src/parse.c
Modified: trunk/Drivers/ccid/src/parse.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/parse.c?rev=6630&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/parse.c (original)
+++ trunk/Drivers/ccid/src/parse.c Wed May 15 13:02:08 2013
@@ -206,7 +206,13 @@
{
(void)fprintf(stderr,
BRIGHT_RED " Please, stop pcscd and retry\n\n" NORMAL);
- return TRUE;
+
+ if (class_ff)
+ /* maybe the device with Class = 0xFF is NOT a CCID
+ * reader */
+ continue;
+ else
+ return TRUE;
}
continue;
}
More information about the Pcsclite-cvs-commit
mailing list