From: David Shaw Date: Wed, 19 Feb 2003 21:33:43 +0000 (+0000) Subject: 3156 defined several micalg values (pgp-md5, pgp-sha1, etc.) Since X-Git-Tag: mutt-1-5-4-rel~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ca4061d9d21fbc0af8fadd450bcccdc7d9b66f2;p=mutt 3156 defined several micalg values (pgp-md5, pgp-sha1, etc.) Since 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. --- diff --git a/pgpmicalg.c b/pgpmicalg.c index 6ba7779c..5835e7dd 100644 --- a/pgpmicalg.c +++ b/pgpmicalg.c @@ -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 } };