accept version 2 geli
This commit is contained in:
parent
7ede8f8b5b
commit
972d86df5f
1 changed files with 2 additions and 1 deletions
|
@ -107,7 +107,8 @@ configure_ciphers (const struct grub_geli_phdr *header)
|
|||
|
||||
/* Look for GELI magic sequence. */
|
||||
if (grub_memcmp (header->magic, GELI_MAGIC, sizeof (GELI_MAGIC))
|
||||
|| grub_le_to_cpu32 (header->version) != 3)
|
||||
|| grub_le_to_cpu32 (header->version) > 3
|
||||
|| grub_le_to_cpu32 (header->version) < 2)
|
||||
{
|
||||
grub_dprintf ("geli", "wrong magic %02x\n", header->magic[0]);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue