[Pcsclite-cvs-commit] CVS Drivers/ccid/src
CVS User rousseau
ludovic.rousseau@free.fr
Mon, 02 May 2005 08:21:47 +0000
Update of /cvsroot/pcsclite/Drivers/ccid/src
In directory haydn:/tmp/cvs-serv19673
Modified Files:
parse.c
Log Message:
test all the 4 bytes of dwFeatures against 0 and not just the first one
--- /cvsroot/pcsclite/Drivers/ccid/src/parse.c 2005/05/02 08:20:10 1.25
+++ /cvsroot/pcsclite/Drivers/ccid/src/parse.c 2005/05/02 08:21:47 1.26
@@ -18,7 +18,7 @@
*/
/*
- * $Id: parse.c,v 1.25 2005/05/02 08:20:10 rousseau Exp $
+ * $Id: parse.c,v 1.26 2005/05/02 08:21:47 rousseau Exp $
*/
#include <stdio.h>
@@ -254,7 +254,7 @@
printf(" Card lock/unlock mechanism\n");
printf(" dwFeatures: 0x%08X\n", dw2i(extra, 40));
- if (extra[40] == 0)
+ if (dw2i(extra, 40) == 0)
printf(" No special characteristics\n");
if (extra[40] & 0x02)
printf(" Automatic parameter configuration based on ATR data\n");