From 5ca4061d9d21fbc0af8fadd450bcccdc7d9b66f2 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Wed, 19 Feb 2003 21:33:43 +0000 Subject: [PATCH] 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. --- pgpmicalg.c | 3 +++ 1 file changed, 3 insertions(+) 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 } }; -- 2.50.1