From: Adriaan de Jong Date: Mon, 24 Oct 2011 09:39:05 +0000 (+0200) Subject: Added missing #ifdef to allow --disable-managent to work again X-Git-Tag: v2.3-alpha1~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c785a27bfe5267ee4aac12fe6d0a24c42e388d6;p=thirdparty%2Fopenvpn.git Added missing #ifdef to allow --disable-managent to work again Signed-off-by: Adriaan de Jong Acked-by: Gert Doering Signed-off-by: David Sommerseth --- diff --git a/ssl_verify.h b/ssl_verify.h index 1eaf639ee..180913771 100644 --- a/ssl_verify.h +++ b/ssl_verify.h @@ -172,7 +172,10 @@ static inline bool verify_user_pass_enabled(struct tls_session *session) { return (session->opt->auth_user_pass_verify_script || plugin_defined (session->opt->plugins, OPENVPN_PLUGIN_AUTH_USER_PASS_VERIFY) - || management_enable_def_auth (management)); +#ifdef MANAGEMENT_DEF_AUTH + || management_enable_def_auth (management) +#endif + ); } /**