[Openvpn-devel] [PATCH] Don't define ENABLE_PUSH_PEER_INFO if SSL is not available

2011-05-26 Thread David Sommerseth
The push_peer_info feature depends on the SSL infrastructure and openvpn will fail to build if ./configure --disable-crypto --disable-ssl is used. The solution is to not define ENABLE_PUSH_PEER_INFO if we don't have crypto/ssl. Signed-off-by: David Sommerseth --- syshead.h |2 ++ 1 files ch

[Openvpn-devel] [PATCH 0/4] Fixes to Visual Studio 2008 build errors

2011-05-26 Thread Samuli Seppänen
These patches fix a large number of build errors in "master" branch as reported on Trac ticket #137.

[Openvpn-devel] [PATCH 1/4] Fixed a number of fatal build errors on Visual Studio 2008

2011-05-26 Thread Samuli Seppänen
Partially fixes ticket #137 Signed-off-by: Gert Doering Signed-off-by: Samuli Seppänen Tested-by: Samuli Seppänen --- helper.c| 12 ++-- socket.c|4 win/config.h.in |2 +- win32.h |2 ++ 4 files changed, 13 insertions(+), 7 deletions(-) diff

[Openvpn-devel] [PATCH 2/4] Fix Microsoft Visual Studio incompatibility in plugin.c

2011-05-26 Thread Samuli Seppänen
From: David Sommerseth MS Visual Studio don't like to have struct members named in the variable declaration. Without this fix, Visual Studio is not able to compile the new v3 plug-in API. Signed-off-by: David Sommerseth Tested-by: Samuli Seppänen Signed-off-by: Samuli Seppänen --- plugin.c

[Openvpn-devel] [PATCH 3/4] Fix a Visual Studio 2008 build error in tun.c

2011-05-26 Thread Samuli Seppänen
From: Samuli Seppanen Partially fixes ticket #137 Signed-off-by: Gert Doering Tested-by: Samuli Seppänen Signed-off-by: Samuli Seppänen --- tun.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tun.c b/tun.c index 895409a..8cdd248 100644 --- a/tun.c +++ b/tun.c @@ -

[Openvpn-devel] [PATCH 4/4] Fix a Visual Studio 2008 build error in options.c

2011-05-26 Thread Samuli Seppänen
From: Samuli Seppanen Partially fixes Trac ticket #137 Signed-off-by: Gert Doering Tested-by: Samuli Seppänen Signed-off-by: Samuli Seppänen --- syshead.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/syshead.h b/syshead.h index 5b86cad..58bfb6c 100644 --- a/syshea

Re: [Openvpn-devel] [PATCH 1/4] Fixed a number of fatal build errors on Visual Studio 2008

2011-05-26 Thread Gert Doering
Hi, On Thu, May 26, 2011 at 04:23:02PM +0300, Samuli Seppänen wrote: > Partially fixes ticket #137 > > Signed-off-by: Gert Doering > Signed-off-by: Samuli Seppänen > Tested-by: Samuli Seppänen NAK, something went wrong here. > --- a/helper.c > +++ b/helper.c > @@ -143,6 +143,12 @@ helper_cli

Re: [Openvpn-devel] [PATCH 3/4] Fix a Visual Studio 2008 build error in tun.c

2011-05-26 Thread Gert Doering
Hi, On Thu, May 26, 2011 at 04:23:04PM +0300, Samuli Seppänen wrote: > diff --git a/tun.c b/tun.c > index 895409a..8cdd248 100644 > --- a/tun.c > +++ b/tun.c > @@ -572,7 +572,7 @@ init_tun_post (struct tuntap *tt, > #endif > } > > -#if defined(TARGET_WIN32) || \ > +#if defined(WIN32) || \ >

[Openvpn-devel] [PATCH] Fix problems with fixes to socket.c and win32.h

2011-05-26 Thread Samuli Seppänen
Signed-off-by: Gert Doering Tested-by: Samuli Seppänen Signed-off-by: Samuli Seppänen --- socket.c |5 ++--- win32.h |2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/socket.c b/socket.c index 3d4801f..b1160d7 100644 --- a/socket.c +++ b/socket.c @@ -3157,7 +3157,7

Re: [Openvpn-devel] [PATCH 1/4] Fixed a number of fatal build errors on Visual Studio 2008

2011-05-26 Thread Samuli Seppänen
>> diff --git a/win/config.h.in b/win/config.h.in >> index 82344a0..ec447a2 100644 >> --- a/win/config.h.in >> +++ b/win/config.h.in >> @@ -275,7 +275,7 @@ typedef unsigned long in_addr_t; >> #define inline __inline >> >> /* type to use in place of socklen_t if not defined */ >> -#define sockl

Re: [Openvpn-devel] [PATCH] Fix problems with fixes to socket.c and win32.h

2011-05-26 Thread Gert Doering
Hi, On Thu, May 26, 2011 at 05:35:29PM +0300, Samuli Seppänen wrote: > Signed-off-by: Gert Doering > Tested-by: Samuli Seppänen > Signed-off-by: Samuli Seppänen > --- > socket.c |5 ++--- > win32.h |2 +- > 2 files changed, 3 insertions(+), 4 deletions(-) > > diff --git a/socket.c b/