diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-01-23 10:33:32 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-23 10:33:32 +0800 |
commit | ce15b4480fcf7cb0cb2b7d8257d4d548ab5fdbe2 (patch) | |
tree | 0dd4878edb7972aa56a09ecbdc71d71a1b5250e5 /mail | |
parent | dcf4c87893feb08d98120ebb3dbbb9bfedb0d268 (diff) | |
download | gsoc2013-evolution-ce15b4480fcf7cb0cb2b7d8257d4d548ab5fdbe2.tar.gz gsoc2013-evolution-ce15b4480fcf7cb0cb2b7d8257d4d548ab5fdbe2.tar.zst gsoc2013-evolution-ce15b4480fcf7cb0cb2b7d8257d4d548ab5fdbe2.zip |
Just wrote a temp way of reporting success/fail of PGP/MIME signature
2001-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (handle_multipart_signed): Just wrote a temp way
of reporting success/fail of PGP/MIME signature verification
status.
svn path=/trunk/; revision=7735
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-format.c | 20 |
2 files changed, 18 insertions, 8 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index b1b014582d..679600812f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2001-01-22 Jeffrey Stedfast <fejj@ximian.com> + + * mail-format.c (handle_multipart_signed): Just wrote a temp way + of reporting success/fail of PGP/MIME signature verification + status. + 2001-01-22 Iain Holmes <iain@ximian.com> * evolution-outlook-importer.c: Outlook Express 4 .mbx importer. diff --git a/mail/mail-format.c b/mail/mail-format.c index d058ec258f..610bf27b68 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -1253,26 +1253,30 @@ handle_multipart_signed (CamelMimePart *part, const char *mime_type, } /* Now display the "seal-of-authenticity" or something... */ -#if 0 if (valid) { + /* FIXME: maybe the pgp verify func should ALWAYS set + an exception so that we can get more details even + if it did pass the check. */ mail_html_write (md->html, md->stream, - "<table><tr valign=top>" + "<hr>\n<table><tr valign=top>" "<td><img src=\"%s\"></td>" - "<td>%s<br><br></td></table>", + "<td><font size=-1>%s<br><br></font></td></table>", get_url_for_icon ("wax-seal2.png", md), _("This message is digitally signed and " "has been found to be authentic.")); } else { mail_html_write (md->html, md->stream, - "<table><tr valign=top>" - "<td><img src=\"%s\"></td><td>", - get_url_for_icon ("wax-seal-broken.png", md)); + "<hr>\n<table><tr valign=top>" + "<td><img src=\"%s\"></td>" + "<td><font size=-1>%s<br><br>", + get_url_for_icon ("wax-seal-broken.png", md), + _("This message is digitally signed but can " + "not be proven to be authentic.")); mail_error_write (md->html, md->stream, camel_exception_get_description (ex)); mail_html_write (md->html, md->stream, - "<br><br></td></table>"); + "<br><br></font></td></table>"); } -#endif camel_exception_free (ex); return TRUE; |