aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cipher/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cipher/misc.c b/cipher/misc.c
index 77cd03c7a..339b3bc52 100644
--- a/cipher/misc.c
+++ b/cipher/misc.c
@@ -36,10 +36,12 @@ static struct { const char *name; int algo;} pubkey_names[] = {
{ "DSA", PUBKEY_ALGO_DSA },
{NULL} };
+/* Note: the first string is the one used by ascii armor */
static struct { const char *name; int algo;} digest_names[] = {
{ "MD5", DIGEST_ALGO_MD5 },
{ "SHA1", DIGEST_ALGO_SHA1 },
{ "SHA-1", DIGEST_ALGO_SHA1 },
+ { "RIPEMD160", DIGEST_ALGO_RMD160 },
{ "RMD160", DIGEST_ALGO_RMD160 },
{ "RMD-160", DIGEST_ALGO_RMD160 },
{ "RIPE-MD-160", DIGEST_ALGO_RMD160 },