diff options
Diffstat (limited to 'mail/em-format.c')
-rw-r--r-- | mail/em-format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-format.c b/mail/em-format.c index 2642b5becd..29e55d3cc5 100644 --- a/mail/em-format.c +++ b/mail/em-format.c @@ -1187,7 +1187,8 @@ emf_multipart_signed(EMFormat *emf, CamelStream *stream, CamelMimePart *part, co CamelCipherContext *cipher = NULL; /* FIXME: Should be done via a plugin interface */ - if (g_ascii_strcasecmp("application/x-pkcs7-signature", mps->protocol) == 0) + if (g_ascii_strcasecmp("application/x-pkcs7-signature", mps->protocol) == 0 + || g_ascii_strcasecmp("application/pkcs7-signature", mps->protocol) == 0) cipher = camel_smime_context_new(emf->session); else if (g_ascii_strcasecmp("application/pgp-signature", mps->protocol) == 0) cipher = camel_gpg_context_new(emf->session); |