Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/ChangeLog,v
retrieving revision 1.1311
diff -u -r1.1311 ChangeLog
--- ChangeLog	2001/11/13 22:51:45	1.1311
+++ ChangeLog	2001/11/16 22:40:10
@@ -1,3 +1,12 @@
+2001-11-16  Jeffrey Stedfast  <fejj@ximian.com>
+
+	Since some mail clients like Outlook are broken, we need to set a
+	name parameter on pgp signed and encrypted parts.
+
+	* camel-pgp-mime.c (camel_pgp_mime_part_encrypt): Set a name
+	parameter.
+	(camel_pgp_mime_part_sign): Same.
+
 2001-11-13    <NotZed@Ximian.com>
 
 	* camel-filter-search.c (get_source): If we have no source string,
Index: camel-pgp-mime.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/camel-pgp-mime.c,v
retrieving revision 1.16
diff -u -r1.16 camel-pgp-mime.c
--- camel-pgp-mime.c	2001/11/08 00:08:35	1.16
+++ camel-pgp-mime.c	2001/11/16 22:40:10
@@ -306,7 +306,7 @@
 	signed_part = camel_mime_part_new ();
 	camel_mime_part_set_content (signed_part, CAMEL_STREAM_MEM (sigstream)->buffer->data,
 				     CAMEL_STREAM_MEM (sigstream)->buffer->len,
-				     "application/pgp-signature");
+				     "application/pgp-signature; name=signature.asc");
 	camel_object_unref (CAMEL_OBJECT (sigstream));
 	
 	/* construct the container multipart/signed */
@@ -480,7 +480,7 @@
 	encrypted_part = camel_mime_part_new ();
 	camel_mime_part_set_content (encrypted_part, CAMEL_STREAM_MEM (ciphertext)->buffer->data,
 				     CAMEL_STREAM_MEM (ciphertext)->buffer->len,
-				     "application/octet-stream");
+				     "application/octet-stream; name=encrypted.asc");
 	camel_object_unref (CAMEL_OBJECT (ciphertext));
 	camel_mime_part_set_encoding (encrypted_part, CAMEL_MIME_PART_ENCODING_7BIT);
 	
