diff options
author | David Sommerseth <davids@redhat.com> | 2011-11-18 13:21:43 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-11-23 11:53:22 +0100 |
commit | 9f6ac06b6d15e14566b820018f295233e831eb68 (patch) | |
tree | 0ffec7736d424eba0d05e605886b0ab1a1422f8e /win32.c | |
parent | 93626f2cf71b4803aa1248a928bfc1ac8c9da18b (diff) | |
download | openvpn-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.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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() |