* grub-core/commands/verify.c: Fix hash algorithms values for
the first three hashes - they start with 1, not with 0.
This commit is contained in:
parent
e75fdee420
commit
40f1c0007c
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-03-31 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||
|
||||
* grub-core/commands/verify.c: Fix hash algorithms values for
|
||||
the first three hashes - they start with 1, not with 0.
|
||||
|
||||
2013-03-26 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/efi/mm.c (grub_efi_finish_boot_services):
|
||||
|
|
|
@ -123,7 +123,9 @@ struct signature_v4_header
|
|||
} __attribute__ ((packed));
|
||||
|
||||
const char *hashes[] = {
|
||||
"md5", "sha1", "ripemd160",
|
||||
[0x01] = "md5",
|
||||
[0x02] = "sha1",
|
||||
[0x03] = "ripemd160",
|
||||
[0x08] = "sha256",
|
||||
[0x09] = "sha384",
|
||||
[0x0a] = "sha512",
|
||||
|
|
Loading…
Reference in a new issue