aboutsummaryrefslogtreecommitdiffstats
path: root/frame.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 /frame.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 '')
-rw-r--r--frame.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/frame.c b/frame.c
index 3f5aba9..1f33c8b 100644
--- a/frame.c
+++ b/frame.c
@@ -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;