]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/commands/verify.c (hashes): Add several hashes
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 20 Mar 2013 16:24:39 +0000 (17:24 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 20 Mar 2013 16:24:39 +0000 (17:24 +0100)
from the spec.

ChangeLog
grub-core/commands/verify.c

index 5e6369cf42eaf8153d2cc866fe8c48763ed08565..bcc2f92dfdf6748eb0cf7cb941ab7bacea0ea3fc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-20  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/commands/verify.c (hashes): Add several hashes
+       from the spec.
+
 2013-03-20  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Slight improve in USB-related boot-time checkpoints.
index 38bb9417d2e82bc5e935534902eca5937402cc46..6c0b580d72508e69c275e9f074286f7c96a649dc 100644 (file)
@@ -124,7 +124,10 @@ struct signature_v4_header
 
 const char *hashes[] = {
   "md5", "sha1", "ripemd160",
-  [0x0a] = "sha512"
+  [0x08] = "sha256",
+  [0x09] = "sha384",
+  [0x0a] = "sha512",
+  [0x0b] = "sha224"
 };
 
 struct