summaryrefslogtreecommitdiffstats
path: root/win32.c
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2011-11-18 13:21:43 +0100
committerDavid Sommerseth <davids@redhat.com>2011-11-23 11:53:22 +0100
commit9f6ac06b6d15e14566b820018f295233e831eb68 (patch)
tree0ffec7736d424eba0d05e605886b0ab1a1422f8e /win32.c
parent93626f2cf71b4803aa1248a928bfc1ac8c9da18b (diff)
downloadopenvpn-9f6ac06b6d15e14566b820018f295233e831eb68.tar.gz
openvpn-9f6ac06b6d15e14566b820018f295233e831eb68.tar.xz
openvpn-9f6ac06b6d15e14566b820018f295233e831eb68.zip
Make '--win-sys env' default
Without this patch, the default path used by OpenVPN is hard coded to C:\WINDOWS. As users might install Windows in a different directory, this approach will cause OpenVPN to malfunction in some configurations. OpenVPN have supported using the system path, by adding --win-sys env. This patch removes the hard coded approach and uses the --win-sys env approach by default instead. Trac-ticket: 66 URL: http://thread.gmane.org/gmane.network.openvpn.user/32508 Signed-off-by: David Sommerseth <davids@redhat.com> Tested-by: Samuli Seppänen <samuli@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/win32.c b/win32.c
index cf6cc2d..416af86 100644
--- a/win32.c
+++ b/win32.c
@@ -1103,12 +1103,6 @@ set_win_sys_path_via_env (struct env_set *es)
set_win_sys_path (buf, es);
}
-void
-env_set_add_win32 (struct env_set *es)
-{
- set_win_sys_path (DEFAULT_WIN_SYS_PATH, es);
-}
-
const char *
win_get_tempdir()