Re: [evolution-patches] Mailer bug #127521: Inline PGP support for evolution (part A: only sending), reviewed
- From: Not Zed <notzed ximian com>
- To: Bohumir Jelinek <bj48 ra msstate edu>
- Cc: Evolution Patches <evolution-patches ximian com>
- Subject: Re: [evolution-patches] Mailer bug #127521: Inline PGP support for evolution (part A: only sending), reviewed
- Date: Mon, 12 Jan 2004 15:05:19 +1030
On Fri, 2004-01-09 at 00:50 -0600, Bohumir Jelinek wrote:
> This allows Evolution to send clearsigned messages.
>
> @@ -183,6 +183,7 @@
>
> /* utility functions */
> int camel_cipher_canonical_to_stream(CamelMimePart *part, guint32 flags, CamelStream *ostream);
> +int camel_cipher_data_wrapper_to_canon_stream (CamelDataWrapper *dw, guint32 flags, CamelStream *ostream);
There should probably be some consistency here, since they both do
essentially the same thing.
Actually the second is hardly needed, since it doesn't actually contain
much code, the other is needed since it needs to change the parts also.
I guess teh patch looks essentially ok. I didn't think of this earlier,
but it probably makes sense just to have a 'mode' on the gpg cipher
context for clearsign vs mime sign, the same way the smime context has a
mode to mime sign vs envelope sign. The same mode setting would affect
encryption mode as well.
Then all the details can be handled in the context, and the creation
code in the composer is simpler.
Z
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]