aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--frame.c5
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ad59b99..4dc3aaf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2002-02-10 Fumitoshi UKAI <ukai@debian.or.jp>
+ * [w3m-dev 03034] check buf
+ * frame.c (frame_download_source): buf->ssl_certificate can be used
+ only if buf != NULL && buf != NO_BUFFER
+
+2002-02-10 Fumitoshi UKAI <ukai@debian.or.jp>
+
* [w3m-dev 03033] SSL indicator
* display.c (displayBuffer): show SSL indicator
@@ -2904,4 +2910,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.312 2002/02/09 15:12:34 ukai Exp $
+$Id: ChangeLog,v 1.313 2002/02/09 15:27:14 ukai Exp $
diff --git a/frame.c b/frame.c
index 1f33c8b..2681826 100644
--- a/frame.c
+++ b/frame.c
@@ -1,4 +1,4 @@
-/* $Id: frame.c,v 1.11 2002/02/08 11:45:07 ukai Exp $ */
+/* $Id: frame.c,v 1.12 2002/02/09 15:27:14 ukai Exp $ */
#include "fm.h"
#include "parsetagx.h"
#include "myctype.h"
@@ -388,7 +388,8 @@ frame_download_source(struct frame_body *b, ParsedURL *currentURL,
b->referer, flag | RG_FRAME_SRC, b->request);
#ifdef USE_SSL
/* XXX certificate? */
- b->ssl_certificate = buf->ssl_certificate;
+ if (buf && buf != NO_BUFFER)
+ b->ssl_certificate = buf->ssl_certificate;
#endif
w3m_dump &= ~DUMP_FRAME;
is_redisplay = FALSE;