[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

View File

@@ -1,4 +1,4 @@
/* $Id: frame.c,v 1.10 2002/01/31 17:54:51 ukai Exp $ */
/* $Id: frame.c,v 1.11 2002/02/08 11:45:07 ukai Exp $ */
#include "fm.h"
#include "parsetagx.h"
#include "myctype.h"
@@ -386,6 +386,10 @@ frame_download_source(struct frame_body *b, ParsedURL *currentURL,
buf = loadGeneralFile(b->url,
baseURL ? baseURL : currentURL,
b->referer, flag | RG_FRAME_SRC, b->request);
#ifdef USE_SSL
/* XXX certificate? */
b->ssl_certificate = buf->ssl_certificate;
#endif
w3m_dump &= ~DUMP_FRAME;
is_redisplay = FALSE;
break;