aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-pgp-mime.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2001-11-17 06:58:53 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-11-17 06:58:53 +0800
commitb64fee1ba45258e0e6e2b95da48b1d6be45448dc (patch)
treed167b0c491765893e879848f21cfc6b8de06c909 /camel/camel-pgp-mime.c
parent5701b20541935f11123f484babbeced3d8f1d385 (diff)
downloadgsoc2013-evolution-b64fee1ba45258e0e6e2b95da48b1d6be45448dc.tar
gsoc2013-evolution-b64fee1ba45258e0e6e2b95da48b1d6be45448dc.tar.gz
gsoc2013-evolution-b64fee1ba45258e0e6e2b95da48b1d6be45448dc.tar.bz2
gsoc2013-evolution-b64fee1ba45258e0e6e2b95da48b1d6be45448dc.tar.lz
gsoc2013-evolution-b64fee1ba45258e0e6e2b95da48b1d6be45448dc.tar.xz
gsoc2013-evolution-b64fee1ba45258e0e6e2b95da48b1d6be45448dc.tar.zst
gsoc2013-evolution-b64fee1ba45258e0e6e2b95da48b1d6be45448dc.zip
see the ChangeLog, I forget
svn path=/trunk/; revision=14736
Diffstat (limited to 'camel/camel-pgp-mime.c')
-rw-r--r--camel/camel-pgp-mime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-pgp-mime.c b/camel/camel-pgp-mime.c
index bfc35f9f41..cc9ba9981a 100644
--- a/camel/camel-pgp-mime.c
+++ b/camel/camel-pgp-mime.c
@@ -306,7 +306,7 @@ camel_pgp_mime_part_sign (CamelPgpContext *context, CamelMimePart **mime_part, c
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 @@ camel_pgp_mime_part_encrypt (CamelPgpContext *context, CamelMimePart **mime_part
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);