mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-23 07:37:23 +08:00
fix mode
This commit is contained in:
parent
e3a7b4ad1f
commit
f47b6f05d0
1 changed files with 1 additions and 1 deletions
|
@ -3995,7 +3995,7 @@ static int CmdHF14ADesCreateTrMACFile(const char *Cmd) {
|
||||||
int securechann = defaultSecureChannel;
|
int securechann = defaultSecureChannel;
|
||||||
uint32_t id = 0x000000;
|
uint32_t id = 0x000000;
|
||||||
DesfireISOSelectWay selectway = ISW6bAID;
|
DesfireISOSelectWay selectway = ISW6bAID;
|
||||||
int res = CmdDesGetSessionParameters(ctx, &dctx, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, &securechann, DCMMACed, &id, &selectway);
|
int res = CmdDesGetSessionParameters(ctx, &dctx, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, &securechann, DCMEncrypted, &id, &selectway);
|
||||||
if (res) {
|
if (res) {
|
||||||
CLIParserFree(ctx);
|
CLIParserFree(ctx);
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue