summaryrefslogtreecommitdiffstats
path: root/misc.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-10 10:22:48 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-10 10:22:48 +0000
commit1f99578ce98947170a8f3809e8d77cb2d4b9a4f4 (patch)
tree8893cd6e6b357abee3b722f5baebed2791c297f6 /misc.c
parent004d8b48a8962828b3f63227fdf0667d3c3b18af (diff)
downloadopenvpn-1f99578ce98947170a8f3809e8d77cb2d4b9a4f4.tar.gz
openvpn-1f99578ce98947170a8f3809e8d77cb2d4b9a4f4.tar.xz
openvpn-1f99578ce98947170a8f3809e8d77cb2d4b9a4f4.zip
Backed out AUTO_USERID feature introduced in r1436.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1449 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/misc.c b/misc.c
index 161b9e4..f02385a 100644
--- a/misc.c
+++ b/misc.c
@@ -1285,11 +1285,6 @@ get_user_pass (struct user_pass *up,
msg (M_FATAL, "Error reading username and password (must be on two consecutive lines) from %s authfile: %s",
prefix,
auth_file);
-
-#if defined(AUTO_USERID) && defined(WIN32)
- if (!strncmp (up->username, "AUTO_USERID", 11))
- get_auto_userid (up->username, USER_PASS_LEN);
-#endif
}
fclose (fp);