mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-21 22:03:19 -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)
|
||||
TLVPrintFromBuffer(buf, len);
|
||||
|
||||
// check mode
|
||||
// save mode
|
||||
if (tlvdb_get(tlvRoot, 0x9f38, NULL)) {
|
||||
JsonSaveStr(root, "$.Application.Mode", TransactionTypeStr[TrType]);
|
||||
}
|
||||
|
@ -1354,8 +1354,10 @@ int CmdHFEMVScan(const char *cmd) {
|
|||
}
|
||||
|
||||
// getting certificates
|
||||
PrintAndLog("-->Recovering certificates.");
|
||||
RecoveryCertificates(tlvRoot, root);
|
||||
if (tlvdb_get(tlvRoot, 0x90, NULL)) {
|
||||
PrintAndLog("-->Recovering certificates.");
|
||||
RecoveryCertificates(tlvRoot, root);
|
||||
}
|
||||
|
||||
// DropField
|
||||
DropField();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue