From a883fe69261e9c7486c911c2ed5b534f8279422c Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 24 Jun 2009 00:20:18 +0000 Subject: fixed build for no-crypt target --- src/options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index d6428f0..9924bf5 100644 --- a/src/options.c +++ b/src/options.c @@ -273,6 +273,7 @@ int options_parse(options_t* opt, int argc, char* argv[]) if(ipv6_only) opt->resolv_addr_type_ = IPV6_ONLY; +#ifndef NO_CRYPT if(role) { if(!strcmp(role, "alice") || !strcmp(role, "server") || !strcmp(role, "left")) opt->role_ = ROLE_LEFT; @@ -284,6 +285,7 @@ int options_parse(options_t* opt, int argc, char* argv[]) } free(role); } +#endif return 0; } -- cgit v1.2.3