From c0cc09d86bff0d19f854455133a689924e84f7ce Mon Sep 17 00:00:00 2001 From: Joshua Wright Date: Wed, 5 Jan 2022 07:12:20 -0500 Subject: [PATCH] Style consistency changes for hf mfdes createapp feature addition --- CHANGELOG.md | 2 +- client/src/cmdhfmfdes.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a8ebb54a..6b6622413 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... ## [unreleased][unreleased] + - Added support for MIFARE DESFire application creation without authentication (@joswr1ght) - Changed drastically Hitag S ARM code to remove state machines and ease way to build new commands (@doegox) - Fixed Hitag S crypto mode with key or NrAr, fixed `lf hitag cc`, fixed pwd dump in hitagS dump with LKP (@doegox) - Changed `trace list -h` - textual change (@iceman1001) @@ -57,7 +58,6 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac - Fixed `SimulateTagLowFrequencyEx` ignoring the `ledcontrol` argument (@zabszk) - Added ledcontrol argument to LF operations (@zabszk) - Added new standalone mode `dankarmulti` - select and run multiple standalone modes (@dankar) - - Added support for MIFARE DESFire application creation without authentication (@joswr1ght) ## [crimson.4.14434][2021-09-18] - Fixed `hf mf staticnested` - flashmem / non loop now works (@horrordash) diff --git a/client/src/cmdhfmfdes.c b/client/src/cmdhfmfdes.c index 8d26689f7..4c59954ab 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -2355,7 +2355,6 @@ static int CmdHF14ADesCreateApp(const char *Cmd) { bool APDULogging = arg_get_lit(ctx, 1); bool verbose = arg_get_lit(ctx, 2); - bool noauth = arg_get_lit(ctx, 19); DesfireContext_t dctx; int securechann = defaultSecureChannel; @@ -2401,6 +2400,7 @@ static int CmdHF14ADesCreateApp(const char *Cmd) { } int keycount = arg_get_int_def(ctx, 18, 0x0e); + bool noauth = arg_get_lit(ctx, 19); SetAPDULogging(APDULogging); CLIParserFree(ctx);