aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2012-07-12 23:10:44 +0800
committerDan Vrátil <dvratil@redhat.com>2012-07-12 23:11:29 +0800
commit759741ebd64a2c7c4953214d7790c3dad3de031e (patch)
treec3930b60e8869109155c5ddc082c58efe76686b5
parent9ac3461e48c7d747f36b73d08ace5f2bccda052a (diff)
downloadgsoc2013-evolution-759741ebd64a2c7c4953214d7790c3dad3de031e.tar.gz
gsoc2013-evolution-759741ebd64a2c7c4953214d7790c3dad3de031e.tar.zst
gsoc2013-evolution-759741ebd64a2c7c4953214d7790c3dad3de031e.zip
Don't display SMIME signature as an attachment
-rw-r--r--em-format/e-mail-parser-application-smime.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/em-format/e-mail-parser-application-smime.c b/em-format/e-mail-parser-application-smime.c
index 444d02793f..877e8cb84b 100644
--- a/em-format/e-mail-parser-application-smime.c
+++ b/em-format/e-mail-parser-application-smime.c
@@ -62,6 +62,7 @@ static const gchar* parser_mime_types[] = { "application/xpkcs7mime",
"application/pkcs7-mime",
"application/pkcs7-signature",
"application/xpkcs7-signature",
+ "application/x-pkcs7-signature",
NULL };
static GSList *
@@ -83,7 +84,8 @@ empe_app_smime_parse (EMailParserExtension *extension,
ct = camel_mime_part_get_content_type (part);
if (camel_content_type_is (ct, "application", "pkcs7-signature") ||
- camel_content_type_is (ct, "application", "xpkcs7-signature")) {
+ camel_content_type_is (ct, "application", "xpkcs7-signature") ||
+ camel_content_type_is (ct, "application", "x-pkcs7-signature")) {
return g_slist_alloc ();
}