summaryrefslogtreecommitdiffstats
path: root/ssl.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-08-17 08:22:42 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-08-17 08:22:42 +0000
commit70f4f82a3517cdb21f66899eac63fbd4543b07f2 (patch)
tree9180589380a99e07c6bf88efb0e24d6f8493cf57 /ssl.c
parentdd048438cd8dd3dc8f1c69ca08ded18fd7b9552f (diff)
downloadopenvpn-70f4f82a3517cdb21f66899eac63fbd4543b07f2.tar.gz
openvpn-70f4f82a3517cdb21f66899eac63fbd4543b07f2.tar.xz
openvpn-70f4f82a3517cdb21f66899eac63fbd4543b07f2.zip
AUTO_USERID feature -- if the auth-user-pass option is used
with some argument ARG, then -ARG will be appended to the username string that is sent to the server. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2259 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'ssl.c')
-rw-r--r--ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl.c b/ssl.c
index 41564ba..85e9c6f 100644
--- a/ssl.c
+++ b/ssl.c
@@ -298,7 +298,7 @@ auth_user_pass_setup (const char *auth_file)
if (!auth_user_pass.defined)
{
#if AUTO_USERID
- get_user_pass_auto_userid (&auth_user_pass);
+ get_user_pass_auto_userid (&auth_user_pass, auth_file);
#else
get_user_pass (&auth_user_pass, auth_file, UP_TYPE_AUTH, GET_USER_PASS_MANAGEMENT|GET_USER_PASS_SENSITIVE);
#endif