diff options
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-gpg-context.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index f6738c99ea..9f7ea67b15 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 2004-03-29 Not Zed <NotZed@Ximian.com> + * camel-gpg-context.c (gpg_verify): get the content-type off of + the multipart-signed, not its container. This seems wrong + ... but might fix #56084. + * providers/imap/camel-imap-store.c (get_folder_counts): remove locking here, we're locked whne we enter. (fill_fi): call refresh_info unlocked. More for #56045. diff --git a/camel/camel-gpg-context.c b/camel/camel-gpg-context.c index 9f55fc4b65..130610f642 100644 --- a/camel/camel-gpg-context.c +++ b/camel/camel-gpg-context.c @@ -1370,9 +1370,9 @@ gpg_verify (CamelCipherContext *context, CamelMimePart *ipart, CamelException *e CamelStream *istream = NULL; CamelMultipart *mps; - ct = camel_mime_part_get_content_type(ipart); - tmp = camel_content_type_param(ct, "protocol"); mps = (CamelMultipart *)camel_medium_get_content_object((CamelMedium *)ipart); + ct = ((CamelDataWrapper *)mps)->mime_type; + tmp = camel_content_type_param(ct, "protocol"); if (!camel_content_type_is(ct, "multipart", "signed") || !CAMEL_IS_MULTIPART_SIGNED(mps) || tmp == NULL |