diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-03-08 04:11:35 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-03-08 04:11:35 +0800 |
commit | 2d62db45411f0d7ffa18bf2d5ef904445844ae8c (patch) | |
tree | b7ccb191b5fd82edc8caa9dc08448e7dce1749f4 /camel/camel-pgp-mime.c | |
parent | 17fd352c3b2ccbc9dcfc9d199e7363fe40cd379f (diff) | |
download | gsoc2013-evolution-2d62db45411f0d7ffa18bf2d5ef904445844ae8c.tar.gz gsoc2013-evolution-2d62db45411f0d7ffa18bf2d5ef904445844ae8c.tar.zst gsoc2013-evolution-2d62db45411f0d7ffa18bf2d5ef904445844ae8c.zip |
Add support for hash type RIPEMD160.
2002-03-07 Jeffrey Stedfast <fejj@ximian.com>
* camel-pgp-mime.c (camel_pgp_mime_part_sign): Add support for
hash type RIPEMD160.
* camel-cipher-context.h: Add RIPEMD160 hash type.
* camel-pgp-context.c (pgp_sign): Updated to consider hash
function for pgp5 and pgp6.
(pgp_clearsign): Same.
svn path=/trunk/; revision=15969
Diffstat (limited to 'camel/camel-pgp-mime.c')
-rw-r--r-- | camel/camel-pgp-mime.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-pgp-mime.c b/camel/camel-pgp-mime.c index 4e3eee7cba..47458803a5 100644 --- a/camel/camel-pgp-mime.c +++ b/camel/camel-pgp-mime.c @@ -294,6 +294,9 @@ camel_pgp_mime_part_sign (CamelPgpContext *context, CamelMimePart **mime_part, c case CAMEL_CIPHER_HASH_SHA1: hash_type = "pgp-sha1"; break; + case CAMEL_CIPHER_HASH_RIPEMD160: + hash_type = "pgp-ripemd160"; + break; default: /* set a reasonable default */ hash = CAMEL_CIPHER_HASH_SHA1; |