diff --git a/ChangeLog b/ChangeLog index 14c6f9d..acdf056 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +TBD - 1.7.0 +----------- + +Fixes: + - nfc-mfclassic: allow option f for read operation too + Apr 05, 2013 - 1.7.0-rc7 (release candidate) -------------------------------------------- diff --git a/utils/nfc-mfclassic.c b/utils/nfc-mfclassic.c index a36f56e..d96f8ff 100644 --- a/utils/nfc-mfclassic.c +++ b/utils/nfc-mfclassic.c @@ -486,6 +486,7 @@ main(int argc, const char *argv[]) bUseKeyA = tolower((int)((unsigned char) * (argv[2]))) == 'a'; bTolerateFailures = tolower((int)((unsigned char) * (argv[2]))) != (int)((unsigned char) * (argv[2])); bUseKeyFile = (argc > 4); + bForceKeyFile = ((argc > 5) && (strcmp((char *)argv[5], "f") == 0)); } else if (strcmp(command, "w") == 0 || strcmp(command, "W") == 0) { if (argc < 4) { print_usage(argv[0]);