public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue (eva)" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/evolution-data-server/files: evolution-data-server-2.24.5-fix-body.patch
Date: Wed, 22 Jul 2009 21:21:52 +0000	[thread overview]
Message-ID: <E1MTjG4-0002PD-Ft@stork.gentoo.org> (raw)

eva         09/07/22 21:21:52

  Added:                evolution-data-server-2.24.5-fix-body.patch
  Log:
  Fix
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  gnome-extra/evolution-data-server/files/evolution-data-server-2.24.5-fix-body.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/files/evolution-data-server-2.24.5-fix-body.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/files/evolution-data-server-2.24.5-fix-body.patch?rev=1.1&content-type=text/plain

Index: evolution-data-server-2.24.5-fix-body.patch
===================================================================
From dcd2f9ebc6c66ab1c068764da3b528f8fbfeb8b5 Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Tue, 31 Mar 2009 11:54:36 +0000
Subject: [PATCH] ** Fix for bug #564465

2009-03-31  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #564465

	* camel-smime-context.c: (sm_decrypt):
	Pass correct body for signature verification.

svn path=/trunk/; revision=10194
---
 camel/camel-smime-context.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/camel/camel-smime-context.c b/camel/camel-smime-context.c
index 7470953..1913d6a 100644
--- a/camel/camel-smime-context.c
+++ b/camel/camel-smime-context.c
@@ -963,7 +963,8 @@ sm_decrypt(CamelCipherContext *context, CamelMimePart *ipart, CamelMimePart *opa
 	camel_data_wrapper_construct_from_stream((CamelDataWrapper *)opart, ostream);
 
 	if (NSS_CMSMessage_IsSigned(cmsg)) {
-		valid = sm_verify_cmsg(context, cmsg, NULL, ex);
+		camel_stream_reset (ostream);
+		valid = sm_verify_cmsg (context, cmsg, ostream, ex);
 	} else {
 		valid = camel_cipher_validity_new();
 		valid->encrypt.description = g_strdup(_("Encrypted content"));
-- 
1.6.3.3







                 reply	other threads:[~2009-07-22 21:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1MTjG4-0002PD-Ft@stork.gentoo.org \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox