aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 02:32:08 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 02:32:08 +0000
commitcb62f30ad45f115e9fb78bd1ceb766337aa08dd2 (patch)
tree2f2101138674737688a3b4fec945e9bb73ca9d6a
parent[w3m-dev 02753] (diff)
downloadw3m-cb62f30ad45f115e9fb78bd1ceb766337aa08dd2.tar.gz
w3m-cb62f30ad45f115e9fb78bd1ceb766337aa08dd2.zip
fix #undef USE_SSL_VERIFY compile error
-rw-r--r--ChangeLog7
-rw-r--r--url.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bc2bd3f..c192ca6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-27 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * url.c (openSSLHandle): accept_this_file is out of
+ #ifdef USE_SSL_VERIFY
+
2001-12-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 02753]
@@ -1692,4 +1697,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.186 2001/12/27 02:28:17 ukai Exp $
+$Id: ChangeLog,v 1.187 2001/12/27 02:32:08 ukai Exp $
diff --git a/url.c b/url.c
index cc971de..b56b23d 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.26 2001/12/27 02:28:17 ukai Exp $ */
+/* $Id: url.c,v 1.27 2001/12/27 02:32:08 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -280,9 +280,9 @@ openSSLHandle(int sock, char *hostname)
Str amsg = NULL;
char *ans;
static char *old_ssl_forbid_method = NULL;
+ static Str accept_this_site = NULL;
#ifdef USE_SSL_VERIFY
static int old_ssl_verify_server = -1;
- static Str accept_this_site = NULL;
#endif
if (!old_ssl_forbid_method || !ssl_forbid_method ||