aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-format.c20
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;