diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-12-19 05:59:18 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-12-19 05:59:18 +0800 |
commit | 93b4700f7dfcd1120db95ea2b7c31cf6a65c2502 (patch) | |
tree | 395d954a51f3ef0bc9ae0d08babc0b26e63cec02 | |
parent | 87c51e6a0a55869faf5ce3f958732c2f55807354 (diff) | |
download | gsoc2013-evolution-93b4700f7dfcd1120db95ea2b7c31cf6a65c2502.tar gsoc2013-evolution-93b4700f7dfcd1120db95ea2b7c31cf6a65c2502.tar.gz gsoc2013-evolution-93b4700f7dfcd1120db95ea2b7c31cf6a65c2502.tar.bz2 gsoc2013-evolution-93b4700f7dfcd1120db95ea2b7c31cf6a65c2502.tar.lz gsoc2013-evolution-93b4700f7dfcd1120db95ea2b7c31cf6a65c2502.tar.xz gsoc2013-evolution-93b4700f7dfcd1120db95ea2b7c31cf6a65c2502.tar.zst gsoc2013-evolution-93b4700f7dfcd1120db95ea2b7c31cf6a65c2502.zip |
for now #ifdef PGP_PROGRAM falling back to handle_multipart_mixed.
2000-12-18 Chris Toshok <toshok@helixcode.com>
* mail-format.c (handle_multipart_encrypted): for now #ifdef
PGP_PROGRAM falling back to handle_multipart_mixed.
(handle_multipart_signed): same.
svn path=/trunk/; revision=7074
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-format.c | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 1ccf3e2da2..e7402b5263 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2000-12-18 Chris Toshok <toshok@helixcode.com> + + * mail-format.c (handle_multipart_encrypted): for now #ifdef + PGP_PROGRAM falling back to handle_multipart_mixed. + (handle_multipart_signed): same. + 2000-12-18 Dan Winship <danw@helixcode.com> * message-list.c (hide_save_state): Unlock camel when done to diff --git a/mail/mail-format.c b/mail/mail-format.c index b63b9a8d3d..1576c261e4 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -1199,6 +1199,7 @@ static gboolean handle_multipart_encrypted (CamelMimePart *part, const char *mime_type, MailDisplay *md) { +#ifdef PGP_PROGRAM CamelDataWrapper *wrapper; CamelMimePart *mime_part; CamelException ex; @@ -1223,6 +1224,9 @@ handle_multipart_encrypted (CamelMimePart *part, const char *mime_type, return retcode; } +#else + return handle_multipart_mixed (part, mime_type, md); +#endif } /* FIXME: So this function is mostly just a place-holder for now */ @@ -1230,6 +1234,7 @@ static gboolean handle_multipart_signed (CamelMimePart *part, const char *mime_type, MailDisplay *md) { +#ifdef PGP_PROGRAM CamelDataWrapper *wrapper; CamelException ex; gboolean valid; @@ -1245,6 +1250,9 @@ handle_multipart_signed (CamelMimePart *part, const char *mime_type, valid = pgp_mime_part_verify (part, &ex); return valid; +#else + return handle_multipart_mixed (part, mime_type, md); +#endif } /* As seen in RFC 2387! */ |