From f373a15b621da29ac7cd71343548886e3c07d074 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Mon, 23 Sep 2013 12:47:47 +0100 Subject: [PATCH] Ommit option-parsing code with NO_AUTH. --- src/option.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/option.c b/src/option.c index eb5f413..9b128cf 100644 --- a/src/option.c +++ b/src/option.c @@ -1571,6 +1571,8 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma break; } + +#ifdef HAVE_AUTH case LOPT_AUTHSERV: /* --auth-server */ if (!(comma = split(arg))) ret_err(gen_err); @@ -1693,6 +1695,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma } break; +#endif case 's': /* --domain */ case LOPT_SYNTH: /* --synth-domain */