aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/misc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-04-30 16:56:10 +0000
committerWerner Koch <[email protected]>1998-04-30 16:56:10 +0000
commit08fc68a715a2f9fb81b4664a4a31df7224c84fd4 (patch)
treef680f1d0c58dd73e62076ff29c898c938f1c0a3c /cipher/misc.c
parent*** empty log message *** (diff)
downloadgnupg-08fc68a715a2f9fb81b4664a4a31df7224c84fd4.tar.gz
gnupg-08fc68a715a2f9fb81b4664a4a31df7224c84fd4.zip
x
Diffstat (limited to 'cipher/misc.c')
-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 },