diff options
author | Arne Schwabe | 2018-10-08 20:16:16 +0200 |
---|---|---|
committer | Gert Doering | 2018-10-08 20:42:42 +0200 |
commit | 00d78cd57fa52aa5a65df1707922791e72313663 (patch) | |
tree | 02f949209ea8084d7a104e41a7aeac1a78d70c43 /src/openvpn/ssl.c | |
parent | 02b392a2ca1e94b0d87c8f643ee887f1b34558ed (diff) | |
download | openvpn-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.c | 4 |
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 */ } } |