aboutsummaryrefslogtreecommitdiffstats
path: root/map.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-02-08 11:45:07 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-02-08 11:45:07 +0000
commit5c83eb8404de539f7b7eb0b395a9078ba8435ab0 (patch)
treef44af5c04d68db7f2b0be79667a3246387786d81 /map.c
parent[w3m-dev 03021] Bug#132934: w3m should recognize file:/uris (diff)
downloadw3m-5c83eb8404de539f7b7eb0b395a9078ba8435ab0.tar.gz
w3m-5c83eb8404de539f7b7eb0b395a9078ba8435ab0.zip
[w3m-dev 03022] SSL certificates of frame body
* frame.h (frame_body): add ssl_certificate * frame.c (frame_download_source): save ssl_certificate * map.c (append_frame_info): display ssl_certificate of frame_body From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'map.c')
-rw-r--r--map.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/map.c b/map.c
index b581746..ebe63be 100644
--- a/map.c
+++ b/map.c
@@ -1,4 +1,4 @@
-/* $Id: map.c,v 1.6 2002/01/31 18:28:24 ukai Exp $ */
+/* $Id: map.c,v 1.7 2002/02/08 11:45:07 ukai Exp $ */
/*
* client-side image maps
*/
@@ -310,6 +310,12 @@ append_frame_info(Buffer *buf, Str html, struct frameset *set, int level)
Strcat_charp(html, " ");
Strcat_charp(html, q);
Strcat_charp(html, "</a>\n");
+#ifdef USE_SSL
+ if (frame.body->ssl_certificate)
+ Strcat_m_charp(html, "<blockquote><pre>\n",
+ frame.body->ssl_certificate,
+ "</pre></blockquote>\n", NULL);
+#endif
break;
case F_FRAMESET:
append_frame_info(buf, html, frame.set, level + 1);