diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/main.c b/main.c index 0124714..881e036 100644 --- a/main.c +++ b/main.c @@ -75,7 +75,7 @@ #include <string.h> #include <unistd.h> -#ifndef NOSSL +#if !defined(NOSSL) || !NOSSL #include "tls_compat.h" #endif @@ -160,7 +160,7 @@ int unix_proxy; char *ftpport; char *httpport; -#ifndef NOSSL +#if !defined(NOSSL) || !NOSSL char *httpsport; #endif /* !SMALL */ char *httpuseragent; @@ -196,7 +196,7 @@ int connect_timeout; int server_timestamps = 1; #endif -#ifndef NOSSL +#if !defined(NOSSL) || !NOSSL char * const ssl_verify_opts[] = { #define SSL_CAFILE 0 "cafile", @@ -325,7 +325,7 @@ main(volatile int argc, char *argv[]) ftpport = "ftp"; httpport = "http"; -#ifndef NOSSL +#if !defined(NOSSL) || !NOSSL httpsport = "https"; #endif /* !NOSSL */ gateport = getenv("FTPSERVERPORT"); @@ -340,7 +340,7 @@ main(volatile int argc, char *argv[]) verbose = 0; progress = 0; gatemode = 0; -#ifndef NOSSL +#if !defined(NOSSL) || !NOSSL cookiefile = NULL; #endif /* NOSSL */ #ifndef SMALL @@ -402,7 +402,7 @@ main(volatile int argc, char *argv[]) if (isatty(fileno(ttyout)) && !dumb_terminal && foregroundproc()) progress = 1; /* progress bar on if tty is usable */ -#ifndef NOSSL +#if !defined(NOSSL) || !NOSSL cookiefile = getenv("http_cookies"); if (tls_config == NULL) { tls_config = tls_config_new(); @@ -526,7 +526,7 @@ main(volatile int argc, char *argv[]) break; case 'S': -#ifndef NOSSL +#if !defined(NOSSL) || !NOSSL process_ssl_options(optarg); #endif /* !NOSSL */ break; @@ -581,7 +581,7 @@ main(volatile int argc, char *argv[]) argc -= optind; argv += optind; -#ifndef NOSSL +#if !defined(NOSSL) || !NOSSL cookie_load(); #endif /* !NOSSL */ if (httpuseragent == NULL) @@ -1079,7 +1079,7 @@ usage(void) #else /* !SMALL */ "ftp [-N name] [-o output] " "ftp://[user:password@]host[:port]/file[/] ...\n" -#ifndef NOSSL +#if !defined(NOSSL) || !NOSSL " ftp [-N name] [-o output] [-S ssl_options] [-w seconds] " "http[s]://[user:password@]host[:port]/file ...\n" #else |