mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 06:13:27 -07:00
fix if certificate not found
This commit is contained in:
parent
998815337e
commit
b8e9900bd5
1 changed files with 5 additions and 3 deletions
|
@ -1234,7 +1234,7 @@ int CmdHFEMVScan(const char *cmd) {
|
||||||
if (decodeTLV)
|
if (decodeTLV)
|
||||||
TLVPrintFromBuffer(buf, len);
|
TLVPrintFromBuffer(buf, len);
|
||||||
|
|
||||||
// check mode
|
// save mode
|
||||||
if (tlvdb_get(tlvRoot, 0x9f38, NULL)) {
|
if (tlvdb_get(tlvRoot, 0x9f38, NULL)) {
|
||||||
JsonSaveStr(root, "$.Application.Mode", TransactionTypeStr[TrType]);
|
JsonSaveStr(root, "$.Application.Mode", TransactionTypeStr[TrType]);
|
||||||
}
|
}
|
||||||
|
@ -1354,8 +1354,10 @@ int CmdHFEMVScan(const char *cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// getting certificates
|
// getting certificates
|
||||||
PrintAndLog("-->Recovering certificates.");
|
if (tlvdb_get(tlvRoot, 0x90, NULL)) {
|
||||||
RecoveryCertificates(tlvRoot, root);
|
PrintAndLog("-->Recovering certificates.");
|
||||||
|
RecoveryCertificates(tlvRoot, root);
|
||||||
|
}
|
||||||
|
|
||||||
// DropField
|
// DropField
|
||||||
DropField();
|
DropField();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue