aboutsummaryrefslogtreecommitdiff
path: root/src/openvpn/openvpn.h
diff options
context:
space:
mode:
authorArne Schwabe2020-10-23 13:32:44 +0200
committerGert Doering2020-10-24 22:03:41 +0200
commit99d217b20064e7fef90dfa49bdcbab23ea7fbcb3 (patch)
tree3985b626c0c29a69d8f9849a5281d9e943f8c508 /src/openvpn/openvpn.h
parent0d4ca79d4fc3c42b3970190f96781ed4f2552b32 (diff)
downloadopenvpn-99d217b20064e7fef90dfa49bdcbab23ea7fbcb3.zip
openvpn-99d217b20064e7fef90dfa49bdcbab23ea7fbcb3.tar.gz
Remove --disable-def-auth configure argument
With scripts, plugin and management interface now all supporting deferred auth, maintaining support of --disbale-def-auth becomes more of a burden and the few kilobyte in potential binary size do not outweigh this. Also the code in ssl_verify is hard to hard because all the ifdefs. Especially for management interface there are so many features not directly related to deferred that depend on MANAGEMENT_DEF_AUTH (like client-kill) that supporting management without deferred auth is not worth it anymore. And removing this remover a high number of ifdefs in manage.c/h Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20201023113244.26295-1-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21214.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/openvpn.h')
-rw-r--r--src/openvpn/openvpn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/openvpn.h b/src/openvpn/openvpn.h
index a7b5977..4ca89ba 100644
--- a/src/openvpn/openvpn.h
+++ b/src/openvpn/openvpn.h
@@ -479,7 +479,7 @@ struct context_2
struct pf_context pf;
#endif
-#ifdef MANAGEMENT_DEF_AUTH
+#ifdef ENABLE_MANAGEMENT
struct man_def_auth_context mda_context;
#endif