mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix... don't even mention it...
This commit is contained in:
parent
1a2973a319
commit
07d51ec4a4
1 changed files with 2 additions and 2 deletions
|
@ -681,8 +681,8 @@ static bool readKeyFile(uint8_t key[8]) {
|
|||
if (!f)
|
||||
return retval;
|
||||
|
||||
size_t bytes_read = fread(key, sizeof(uint8_t), sizeof(key), f);
|
||||
if ( bytes_read == sizeof(key))
|
||||
size_t bytes_read = fread(key, sizeof(uint8_t), 8, f);
|
||||
if ( bytes_read == 8)
|
||||
retval = true;
|
||||
|
||||
if (f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue