From 3c3d0e275cca7408f596e845a988723ec638649d Mon Sep 17 00:00:00 2001 From: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com> Date: Fri, 29 May 2026 12:49:43 +0300 Subject: [PATCH] Compiler fix Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com> --- client/src/cmdhfmfp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/cmdhfmfp.c b/client/src/cmdhfmfp.c index 894b9b6f0..8ca57b3b8 100644 --- a/client/src/cmdhfmfp.c +++ b/client/src/cmdhfmfp.c @@ -1067,7 +1067,7 @@ static int CmdHFMFPRdsc(const char *Cmd) { } if (plain == false) { - mfp_data_crypt(&mf4session, &data[1], &data[1], true); + mfp_data_crypt(&mf4session, &data[1], &data[1], true, 1); } mf_print_block_one(blockno, data + 1, verbose); @@ -1212,7 +1212,7 @@ static int CmdHFMFPWrbl(const char *Cmd) { } mf4Session_t mf4session; - int res = MifareAuth4(&mf4session, keyn, key, true, true, true, verbose, false); + int res = MifareAuth4(&mf4session, keyn, key, false, true, true, true, verbose, false); if (res) { PrintAndLogEx(ERR, "Authentication error: %d", res); return res;