From 1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb Mon Sep 17 00:00:00 2001 From: Adriaan de Jong Date: Thu, 7 Jul 2011 09:21:03 +0200 Subject: 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 Acked-by: James Yonan Signed-off-by: David Sommerseth --- pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pf.c') diff --git a/pf.c b/pf.c index 8aae99c..6b4cba4 100644 --- a/pf.c +++ b/pf.c @@ -563,7 +563,7 @@ pf_init_context (struct context *c) if( pf_file ) { setenv_str (c->c2.es, "pf_file", pf_file); - if (plugin_call (c->plugins, OPENVPN_PLUGIN_ENABLE_PF, NULL, NULL, c->c2.es, -1, NULL) == OPENVPN_PLUGIN_FUNC_SUCCESS) + if (plugin_call (c->plugins, OPENVPN_PLUGIN_ENABLE_PF, NULL, NULL, c->c2.es) == OPENVPN_PLUGIN_FUNC_SUCCESS) { event_timeout_init (&c->c2.pf.reload, 1, now); c->c2.pf.filename = string_alloc (pf_file, NULL); -- cgit