Skip to content

Commit 8f3bc87

Browse files
authored
Merge pull request #2986 from merlokk/desffix
add default plain mode for value operations
2 parents 45fe423 + 3a08453 commit 8f3bc87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/cmdhfmfdes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4556,7 +4556,7 @@ static int CmdHF14ADesValueOperations(const char *Cmd) {
45564556
int securechann = defaultSecureChannel;
45574557
uint32_t id = 0x000000;
45584558
DesfireISOSelectWay selectway = ISW6bAID;
4559-
int res = CmdDesGetSessionParameters(ctx, &dctx, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, &securechann, DCMMACed, &id, &selectway);
4559+
int res = CmdDesGetSessionParameters(ctx, &dctx, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, &securechann, DCMPlain, &id, &selectway);
45604560
if (res) {
45614561
CLIParserFree(ctx);
45624562
return res;

0 commit comments

Comments
 (0)