fix #undef USE_SSL_VERIFY compile error

This commit is contained in:
Fumitoshi UKAI
2001-12-27 02:32:08 +00:00
parent 409a8bb4c0
commit cb62f30ad4
2 changed files with 8 additions and 3 deletions

4
url.c
View File

@@ -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 ||