Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/ftp compile without SSL



details:   https://anonhg.NetBSD.org/src/rev/fd531c1ca84b
branches:  trunk
changeset: 783451:fd531c1ca84b
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Dec 22 16:58:51 2012 +0000

description:
compile without SSL

diffstat:

 usr.bin/ftp/fetch.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 1ec3f1770405 -r fd531c1ca84b usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c       Sat Dec 22 16:57:09 2012 +0000
+++ b/usr.bin/ftp/fetch.c       Sat Dec 22 16:58:51 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fetch.c,v 1.200 2012/12/22 16:57:09 christos Exp $     */
+/*     $NetBSD: fetch.c,v 1.201 2012/12/22 16:58:51 christos Exp $     */
 
 /*-
  * Copyright (c) 1997-2009 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.200 2012/12/22 16:57:09 christos Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.201 2012/12/22 16:58:51 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -625,8 +625,10 @@
                int hasleading;
 
                if (proxyenv == NULL) {
+#ifdef WITH_SSL
                        if (urltype == HTTPS_URL_T)
                                proxyenv = getoptionvalue("https_proxy");
+#endif
                        if (proxyenv == NULL && IS_HTTP_TYPE(urltype))
                                proxyenv = getoptionvalue("http_proxy");
                        else if (urltype == FTP_URL_T)



Home | Main Index | Thread Index | Old Index