[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>
This commit is contained in:
Fumitoshi UKAI
2002-02-08 11:45:07 +00:00
parent 589c1c0211
commit 5c83eb8404
4 changed files with 24 additions and 4 deletions

8
map.c
View File

@@ -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);