fix... don't even mention it...
This commit is contained in:
@@ -681,8 +681,8 @@ static bool readKeyFile(uint8_t key[8]) {
|
|||||||
if (!f)
|
if (!f)
|
||||||
return retval;
|
return retval;
|
||||||
|
|
||||||
size_t bytes_read = fread(key, sizeof(uint8_t), sizeof(key), f);
|
size_t bytes_read = fread(key, sizeof(uint8_t), 8, f);
|
||||||
if ( bytes_read == sizeof(key))
|
if ( bytes_read == 8)
|
||||||
retval = true;
|
retval = true;
|
||||||
|
|
||||||
if (f)
|
if (f)
|
||||||
|
|||||||
Reference in New Issue
Block a user