Revision: b978c45a11a7
Author: Adam Laurie <
ad...@algroup.co.uk>
Date: Sun May 25 15:39:47 2014 UTC
Log: tolerate errors when writing as well as reading
http://code.google.com/p/libnfc/source/detail?r=b978c45a11a7
Modified:
/utils/nfc-mfclassic.c
=======================================
--- /utils/nfc-mfclassic.c Mon Jan 27 23:22:33 2014 UTC
+++ /utils/nfc-mfclassic.c Sun May 25 15:39:47 2014 UTC
@@ -405,7 +405,7 @@
fflush(stdout);
// Try to authenticate for the current sector
- if (!write_block_zero && !authenticate(uiBlock)) {
+ if (!write_block_zero && !authenticate(uiBlock)
&& !bTolerateFailures) {
printf("!\nError: authentication failed for block %02x\n",
uiBlock);
return false;
}