Index: camel/camel-smime-context.c
===================================================================
--- camel/camel-smime-context.c	(revision 10192)
+++ camel/camel-smime-context.c	(working copy)
@@ -1179,7 +1179,8 @@ sm_decrypt(CamelCipherContext *context, 
 	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"));
Index: camel/ChangeLog
===================================================================
--- camel/ChangeLog	(revision 10193)
+++ camel/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2009-03-31  Milan Crha  <mcrha@redhat.com>
+
+	** Fix for bug #564465
+
+	* camel-smime-context.c: (sm_decrypt):
+	Pass correct body for signature verification.
+
 2009-03-27  Milan Crha  <mcrha@redhat.com>
 
 	** Fix for bug #569700
