gmime r1351 - in trunk: . gmime



Author: fejj
Date: Sun Jun  8 23:16:14 2008
New Revision: 1351
URL: http://svn.gnome.org/viewvc/gmime?rev=1351&view=rev

Log:
2008-06-08  Jeffrey Stedfast  <fejj novell com>

	* gmime/gmime-gpg-context.c (gpg_ctx_parse_status): added
	constants for MD2, TIGER and HAVAL.



Modified:
   trunk/ChangeLog
   trunk/gmime/gmime-cipher-context.h
   trunk/gmime/gmime-gpg-context.c

Modified: trunk/gmime/gmime-cipher-context.h
==============================================================================
--- trunk/gmime/gmime-cipher-context.h	(original)
+++ trunk/gmime/gmime-cipher-context.h	Sun Jun  8 23:16:14 2008
@@ -58,7 +58,7 @@
  * @GMIME_CIPHER_HASH_SHA512: The SHA-512 hash algorithm.
  * @GMIME_CIPHER_HASH_RIPEMD160: The RIPEMD-160 hash algorithm.
  * @GMIME_CIPHER_HASH_TIGER192: The TIGER-192 hash algorithm.
- * @GMIME_CIPHER_HASH_HAVAL5160: The HAVAL-5160 hash algorithm.
+ * @GMIME_CIPHER_HASH_HAVAL5160: The HAVAL5-160 hash algorithm.
  *
  * A hash algorithm.
  **/

Modified: trunk/gmime/gmime-gpg-context.c
==============================================================================
--- trunk/gmime/gmime-gpg-context.c	(original)
+++ trunk/gmime/gmime-gpg-context.c	Sun Jun  8 23:16:14 2008
@@ -1128,6 +1128,9 @@
 			case 1: gpg->hash = GMIME_CIPHER_HASH_MD5; break;
 			case 2: gpg->hash = GMIME_CIPHER_HASH_SHA1; break;
 			case 3:	gpg->hash = GMIME_CIPHER_HASH_RIPEMD160; break;
+			case 5: gpg->hash = GMIME_CIPHER_HASH_MD2; break; /* ? */
+			case 6: gpg->hash = GMIME_CIPHER_HASH_TIGER192; break; /* ? */
+			case 7: gpg->hash = GMIME_CIPHER_HASH_HAVAL5160; break; /* ? */
 			case 8: gpg->hash = GMIME_CIPHER_HASH_SHA256; break;
 			case 9: gpg->hash = GMIME_CIPHER_HASH_SHA384; break;
 			case 10: gpg->hash = GMIME_CIPHER_HASH_SHA512; break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]