diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-06-23 07:07:55 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-06-23 07:07:55 +0800 |
commit | 3d0e7558f847ffba5fd9444c955bf215fee3489f (patch) | |
tree | f4c16ad4526fdc049e047389eed26fb64c76490e /camel/camel-pgp-mime.c | |
parent | 4af1937ad505b032e35a0a8e5a409418f6a72a1f (diff) | |
download | gsoc2013-evolution-3d0e7558f847ffba5fd9444c955bf215fee3489f.tar gsoc2013-evolution-3d0e7558f847ffba5fd9444c955bf215fee3489f.tar.gz gsoc2013-evolution-3d0e7558f847ffba5fd9444c955bf215fee3489f.tar.bz2 gsoc2013-evolution-3d0e7558f847ffba5fd9444c955bf215fee3489f.tar.lz gsoc2013-evolution-3d0e7558f847ffba5fd9444c955bf215fee3489f.tar.xz gsoc2013-evolution-3d0e7558f847ffba5fd9444c955bf215fee3489f.tar.zst gsoc2013-evolution-3d0e7558f847ffba5fd9444c955bf215fee3489f.zip |
Return -1 on error. (gpg_decrypt): Same. (gpg_sign): Again here.
2002-06-22 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_encrypt): Return -1 on error.
(gpg_decrypt): Same.
(gpg_sign): Again here.
(gpg_ctx_op_step): Only attenmpt to read from the status-fd if we
are not already 'complete'.
* camel-pgp-mime.c (camel_pgp_mime_part_encrypt): Flush the
filtered stream.
svn path=/trunk/; revision=17257
Diffstat (limited to 'camel/camel-pgp-mime.c')
-rw-r--r-- | camel/camel-pgp-mime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-pgp-mime.c b/camel/camel-pgp-mime.c index c297194bd3..51b3d91994 100644 --- a/camel/camel-pgp-mime.c +++ b/camel/camel-pgp-mime.c @@ -485,6 +485,7 @@ camel_pgp_mime_part_encrypt (CamelCipherContext *cipher, CamelMimePart **mime_pa camel_stream_filter_add (filtered_stream, CAMEL_MIME_FILTER (crlf_filter)); camel_object_unref (CAMEL_OBJECT (crlf_filter)); camel_data_wrapper_write_to_stream (CAMEL_DATA_WRAPPER (part), CAMEL_STREAM (filtered_stream)); + camel_stream_flush (CAMEL_STREAM (filtered_stream)); camel_object_unref (CAMEL_OBJECT (filtered_stream)); camel_stream_reset (stream); |