? composer/mail-composer.error
Index: composer/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/composer/ChangeLog,v
retrieving revision 1.714
diff -u -p -r1.714 ChangeLog
--- composer/ChangeLog	24 Aug 2005 04:19:01 -0000	1.714
+++ composer/ChangeLog	26 Aug 2005 05:11:19 -0000
@@ -1,3 +1,10 @@
+2005-08-26  Not Zed  <NotZed@Ximian.com>
+
+	** See bug #304415.
+
+	* e-msg-composer.c (build_message): pass DEFAULT as the signing
+	hash.
+
 2005-08-22  Srinivasa Ragavan <sragavan@novell.com>
 
 	* e-msg-composer.c (drop_action): Show the bar depending on the 
Index: composer/e-msg-composer.c
===================================================================
RCS file: /cvs/gnome/evolution/composer/e-msg-composer.c,v
retrieving revision 1.517
diff -u -p -r1.517 e-msg-composer.c
--- composer/e-msg-composer.c	24 Aug 2005 04:19:01 -0000	1.517
+++ composer/e-msg-composer.c	26 Aug 2005 05:11:21 -0000
@@ -678,7 +678,7 @@ build_message (EMsgComposer *composer, g
 			CamelMimePart *npart = camel_mime_part_new();
 
 			cipher = mail_crypto_get_pgp_cipher_context(hdrs->account);
-			camel_cipher_sign(cipher, pgp_userid, CAMEL_CIPHER_HASH_SHA1, part, npart, &ex);
+			camel_cipher_sign(cipher, pgp_userid, CAMEL_CIPHER_HASH_DEFAULT, part, npart, &ex);
 			camel_object_unref(cipher);
 			
 			if (camel_exception_is_set(&ex)) {
