aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2010-03-12 02:59:17 +0000
committerJames Yonan <james@openvpn.net>2010-03-12 02:59:17 +0000
commit6624b877539b58375c75028637acf38aa921d821 (patch)
treed356a82331a930a42ba762790f1130b11363e170
parentFixed an issue where if reneg-sec was set to 0 on the client, (diff)
downloadopenvpn-6624b877539b58375c75028637acf38aa921d821.tar.xz
Trivial fix to proxy.c -- #define proxy auth type as UP_TYPE_PROXY.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5466 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r--proxy.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/proxy.c b/proxy.c
index 6e5a30a..dc8ea98 100644
--- a/proxy.c
+++ b/proxy.c
@@ -41,6 +41,8 @@
#ifdef ENABLE_HTTP_PROXY
+#define UP_TYPE_PROXY "HTTP Proxy"
+
/* cached proxy username/password */
static struct user_pass static_proxy_user_pass;
@@ -222,7 +224,7 @@ get_user_pass_http (struct http_proxy_info *p, const bool force)
{
get_user_pass (&static_proxy_user_pass,
p->options.auth_file,
- "HTTP Proxy",
+ UP_TYPE_PROXY,
GET_USER_PASS_MANAGEMENT);
p->up = static_proxy_user_pass;
}