[Openvpn-devel] [PATCH] Move away from openvpn_basename() over to platform provided basename()

2011-12-07 Thread David Sommerseth
This kicks out the openvpn_basename() function from misc.[ch] andputs it into compat.[ch]. This is to provide the same functionality on platforms not having a native basename() function available. In addition this patch adds dirname() which commit 0f2bc0dd92f43c91e depends. Without dirname(), op

[Openvpn-devel] [PATCH] set Windows environment variables as UCS-2

2011-12-07 Thread Heiko Hund
Windows uses 16 bit wide characters to represent Unicode in the process environment. Convert UTF-8 to UCS-2 and use the wide character API to set environment variables. Signed-off-by: Heiko Hund --- misc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/misc.c b/misc.

[Openvpn-devel] [PATCH] handle Windows unicode paths

2011-12-07 Thread Heiko Hund
Openvpn for Windows is not compiled as a Unicode binary and thus cannot handle paths which contain non-ASCII characters using the argv vector. Characters that are not present in the system codepage are simply replaced with a question mark, e.g. if started as 'openvpn --config домой.ovpn' the file '

[Openvpn-devel] [Windows] Malware and OpenVPN GUI installer from CNET's download.com service

2011-12-07 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, This is a sad mail to write, as it has come to our attention that CNET's download service seems to have added some malware to the OpenVPN GUI installer for Windows. There are more issues here. First of all, the 2.1_beta7 release which is availa