Re: [Openvpn-devel] [PATCH] adding support for systemd tty console wrapper

2011-10-31 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/10/11 16:30, Frederic Crozat wrote: > Hi, > > as part of openSUSE switching to systemd by default, openVPN was made > compatible with the systemd way of querying passphrase during boot > (directly opening tty isn't supported). > Thanks a

[Openvpn-devel] [PATCH] adding support for systemd tty console wrapper

2011-10-31 Thread Frederic Crozat
Hi, as part of openSUSE switching to systemd by default, openVPN was made compatible with the systemd way of querying passphrase during boot (directly opening tty isn't supported). -- Frederic Crozat SUSE >From 02a9e6b213eba6dbb90b92b4d51e907718e46a56 Mon Sep 17 00:00:00

[Openvpn-devel] [PATCH 8/8] Fixed a typo when initialising cryptoapi certs

2011-10-31 Thread Adriaan de Jong
Signed-off-by: Adriaan de Jong --- ssl_openssl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ssl_openssl.c b/ssl_openssl.c index 391968a..b95944c 100644 --- a/ssl_openssl.c +++ b/ssl_openssl.c @@ -339,7 +339,7 @@ tls_ctx_load_cryptoapi(struct

[Openvpn-devel] [PATCH 7/8] Minor cleanup to enable warning-free Windows build:

2011-10-31 Thread Adriaan de Jong
- Changed int32_t to size_t - Removed some unused variables - Added missing include files - changed ordering to ensure variable declarations are before asserts Signed-off-by: Adriaan de Jong --- crypto.c |3 +-- pkcs11_polarssl.c |1 - ssl_openssl.c

[Openvpn-devel] [PATCH 4/8] Reordered functions to ensure warning-free Windows build

2011-10-31 Thread Adriaan de Jong
Signed-off-by: Adriaan de Jong --- plugin.h | 21 ++--- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/plugin.h b/plugin.h index 7aacb47..948ab88 100644 --- a/plugin.h +++ b/plugin.h @@ -122,6 +122,16 @@ void plugin_list_open (struct

[Openvpn-devel] [PATCH 1/8] Moved prng_uninit out of crypto_uninit_lib

2011-10-31 Thread Adriaan de Jong
Since prng_uninit is SSL-library agnostic, but crypto_uninit_lib isn't, the function was moved up a level. Signed-off-by: Adriaan de Jong --- crypto.c |1 + crypto_openssl.c |2 -- crypto_polarssl.c |1 - ssl.c |4 ++-- 4 files changed,

[Openvpn-devel] [PATCH 3/8] Fixed missing comma in plugin.h

2011-10-31 Thread Adriaan de Jong
Fixed a bug where the wrong value was being passed to plugin_call_ssl, due to a missing comma. Signed-off-by: Adriaan de Jong --- plugin.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugin.h b/plugin.h index 8782751..7aacb47 100644 ---

[Openvpn-devel] [PATCH 2/8] Moved CryptoAPI header include to the ssl_openssl.c

2011-10-31 Thread Adriaan de Jong
Signed-off-by: Adriaan de Jong --- ssl.c |4 ssl_openssl.c |4 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ssl.c b/ssl.c index 955a0d1..c26756e 100644 --- a/ssl.c +++ b/ssl.c @@ -62,10 +62,6 @@ #include "ssl_verify.h" #include

[Openvpn-devel] Series of patches to fix Windows builds and other errors

2011-10-31 Thread Adriaan de Jong
Hi, The following series of patches enables Windows builds and fixes a few bugs to boot. Most of it I'm quite comfortable with. The only unfortunate thing in these patches is switching between OpenSSL and PolarSSL. This currently requires changing two flags instead of one, due to the build