aboutsummaryrefslogtreecommitdiff
path: root/src/openvpn/ssl.c
diff options
context:
space:
mode:
authorArne Schwabe2018-10-08 20:16:16 +0200
committerGert Doering2018-10-08 20:42:42 +0200
commit00d78cd57fa52aa5a65df1707922791e72313663 (patch)
tree02f949209ea8084d7a104e41a7aeac1a78d70c43 /src/openvpn/ssl.c
parent02b392a2ca1e94b0d87c8f643ee887f1b34558ed (diff)
downloadopenvpn-00d78cd57fa52aa5a65df1707922791e72313663.zip
openvpn-00d78cd57fa52aa5a65df1707922791e72313663.tar.gz
Remove AUTO_USERID feature
There is no user facing way to enable this feature and way that feature works (username build from MAC of primary net device) is questionable. It also does not compile anymore. Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20181008181618.8976-2-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17664.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/ssl.c')
-rw-r--r--src/openvpn/ssl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c
index 315303b..455adfb 100644
--- a/src/openvpn/ssl.c
+++ b/src/openvpn/ssl.c
@@ -409,9 +409,6 @@ auth_user_pass_setup(const char *auth_file, const struct static_challenge_info *
auth_user_pass_enabled = true;
if (!auth_user_pass.defined)
{
-#if AUTO_USERID
- get_user_pass_auto_userid(&auth_user_pass, auth_file);
-#else
#ifdef ENABLE_CLIENT_CR
if (auth_challenge) /* dynamic challenge/response */
{
@@ -437,7 +434,6 @@ auth_user_pass_setup(const char *auth_file, const struct static_challenge_info *
else
#endif /* ifdef ENABLE_CLIENT_CR */
get_user_pass(&auth_user_pass, auth_file, UP_TYPE_AUTH, GET_USER_PASS_MANAGEMENT);
-#endif /* if AUTO_USERID */
}
}