[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:
8
map.c
8
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);
|
||||
|
Reference in New Issue
Block a user