summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-07-07 09:21:03 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 17:22:51 +0200
commit1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb (patch)
tree4ccb3c4e2c142dce66a95fef769af1196ba734e5 /plugin
parent557624e0a7282cf31cd3b58f8155f11f0517f254 (diff)
downloadopenvpn-1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb.tar.gz
openvpn-1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb.tar.xz
openvpn-1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb.zip
Fixes for the plugin system:
- Removed the dependency on an SSL library for USE_SSL when creating non-SSL plugins - Fixed example plugin code to include USE_SSL when needed Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/examples/log_v3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/examples/log_v3.c b/plugin/examples/log_v3.c
index bf2f1dc..2dff6a6 100644
--- a/plugin/examples/log_v3.c
+++ b/plugin/examples/log_v3.c
@@ -36,6 +36,9 @@
#include <string.h>
#include <stdlib.h>
+#define USE_SSL
+#define USE_OPENSSL
+
#include "openvpn-plugin.h"
/*