mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix cppchecker, lesser scope
This commit is contained in:
parent
16783000f0
commit
09dc29dd9d
1 changed files with 1 additions and 2 deletions
|
@ -1217,11 +1217,10 @@ static int CmdHFiClassDecrypt(const char *Cmd) {
|
|||
mbedtls_des3_context ctx;
|
||||
mbedtls_des3_set2key_dec(&ctx, key);
|
||||
|
||||
uint8_t dec_data[8] = {0};
|
||||
|
||||
// decrypt user supplied data
|
||||
if (have_data) {
|
||||
|
||||
uint8_t dec_data[8] = {0};
|
||||
if (use_sc) {
|
||||
Decrypt(enc_data, dec_data);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue