public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in gnome-extra/evolution-data-server/files: evolution-data-server-2.24.5-fix-body.patch
@ 2009-07-22 21:21 Gilles Dartiguelongue (eva)
  0 siblings, 0 replies; only message in thread
From: Gilles Dartiguelongue (eva) @ 2009-07-22 21:21 UTC (permalink / raw
  To: gentoo-commits

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







^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-22 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22 21:21 [gentoo-commits] gentoo-x86 commit in gnome-extra/evolution-data-server/files: evolution-data-server-2.24.5-fix-body.patch Gilles Dartiguelongue (eva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox