mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
Replace 8 with GRUB_CHAR_BIT in several places when appropriate.
This commit is contained in:
1 parent
ce7d92a9f2
commit
1865baa72c
4 files changed
+7
-3
No files matched your search
@@ -414,7 +414,7 @@ recover_key (grub_disk_t source, grub_cryptodisk_t dev)
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
keysize = grub_le_to_cpu16 (header.keylen) / 8;
|
||||
keysize = grub_le_to_cpu16 (header.keylen) / GRUB_CHAR_BIT;
|
||||
grub_memset (zero, 0, sizeof (zero));
|
||||
|
||||
grub_puts_ (N_("Attempting to decrypt master key..."));
|
||||
|
||||
Reference in new issue
Block a user