Incorrect message signature verification failure
authorMilan Crha <mcrha@redhat.com>
Mon, 22 Aug 2011 09:07:32 +0000 (11:07 +0200)
committerMilan Crha <mcrha@redhat.com>
Mon, 22 Aug 2011 09:07:32 +0000 (11:07 +0200)
camel/camel-multipart-signed.c

index 62b47da..75ba036 100644 (file)
@@ -711,6 +711,9 @@ camel_multipart_signed_get_content_stream (CamelMultipartSigned *mps,
 
                g_object_unref (filter_stream);
                g_object_unref (base_stream);
+
+               /* rewind to the beginning of a stream */
+               g_seekable_seek (G_SEEKABLE (constream), 0, G_SEEK_SET, NULL, NULL);
        }
 
        return constream;