]> granicus.if.org Git - mutt/commitdiff
3156 defined several micalg values (pgp-md5, pgp-sha1, etc.) Since
authorDavid Shaw <dshaw@jabberwocky.com>
Wed, 19 Feb 2003 21:33:43 +0000 (21:33 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Wed, 19 Feb 2003 21:33:43 +0000 (21:33 +0000)
then, three more hashes have been assigned numbers in 2440bis.  Here
is a patch to add values for pgp-sha256, pgp-sha384, and pgp-sha512 so
mutt can properly handle them.

pgpmicalg.c

index 6ba7779c42e2bd7891cf7805daa317e889c74520..5835e7dde601f8b1a5338823fe4ae004cf559938 100644 (file)
@@ -45,6 +45,9 @@ HashAlgorithms[] =
   { 5,         "pgp-md2"               },
   { 6,         "pgp-tiger192"          },
   { 7,         "pgp-haval-5-160"       },
+  { 8,         "pgp-sha256"            },
+  { 9,         "pgp-sha384"            },
+  { 10,                "pgp-sha512"            },
   { -1,        NULL }
 };