From: Igor Novgorodov Date: Sun, 12 Feb 2012 18:40:02 +0000 (+0400) Subject: The code blocks enabled by ENABLE_CLIENT_CR depends on management X-Git-Tag: v2.3-alpha1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ee0dc2bd72ec318fcc227af54e5ca7e1384a6cc;p=thirdparty%2Fopenvpn.git The code blocks enabled by ENABLE_CLIENT_CR depends on management If the management interface is not enabled, it makes no sense in including the ENABLE_CLIENT_CR #ifdef blocks. This will also in some configurations cause build issues if these blocks are enabled. Signed-off-by: Igor Novgorodov Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- diff --git a/syshead.h b/syshead.h index f1211142b..98be0c39b 100644 --- a/syshead.h +++ b/syshead.h @@ -713,7 +713,9 @@ socket_defined (const socket_descriptor_t sd) /* * Do we support challenge/response authentication as client? */ +#if defined(ENABLE_MANAGEMENT) #define ENABLE_CLIENT_CR +#endif /* * Do we support pushing peer info?