fix #undef USE_SSL_VERIFY compile error
This commit is contained in:
@@ -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 $
|
||||
|
4
url.c
4
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 ||
|
||||
|
Reference in New Issue
Block a user