[Openvpn-devel] [PATCH] Correct the declaration of handle in 'struct openvpn_plugin_args_open_return'

2017-05-15 Thread selva . nair
From: Selva Nair - This is an opaque pointer so the change should not affect existing plugins. But it makes the code consistent and clears up the documentation as the handle pointer is treated as of type "openvpn_plugin_handle_t" in the rest of the code. Signed-off-by: Selva Nair --- incl

[Openvpn-devel] [PATCH] Log the negotiated (NCP) cipher

2017-05-15 Thread Steffan Karger
To make it clear that NCP is in effect, print a log message (at --verb 2) to show that we selected a cipher using NCP. Signed-off-by: Steffan Karger --- src/openvpn/ssl.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c index 21c9d6f..3d5e824 100644

[Openvpn-devel] [PATCH] Skip tls-crypt unit tests if required crypto mode not supported

2017-05-15 Thread Steffan Karger
Instead of failing the test with an unclear error, print that the a required crypto primitive is not supported and skip the test. This is for example the case when using the system-supplied openssl on SLES11, which does not support AES-256-CTR. Signed-off-by: Steffan Karger --- tests/unit_tests

[Openvpn-devel] [PATCH] Make openvpn-plugin.h self-contained again.

2017-05-15 Thread Matthias Andree
2.4.2 introduced a declaration that references size_t, so use the C99 way of declaring it, and add #include . Note this may break on non-C99-compliant versions of MS Visual Studio. Signed-off-by: Matthias Andree --- include/openvpn-plugin.h.in | 1 + 1 file changed, 1 insertion(+) diff --git a