From 81c97a5e2230af757c22e77cc2db129416694ee6 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Fri, 10 Dec 2010 01:16:09 +0100 Subject: Extend the v3 plug-in API to send over X509 certificates The certificates sent to the plug-in API will only happen during the OPENVPN_PLUGIN_TLS_VERIFY phase and will contain a pointer to the OpenSSL X509 certificate data. Signed-off-by: David Sommerseth Acked-by: James Yonan --- init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.c') diff --git a/init.c b/init.c index 61e04fa..a51b7d4 100644 --- a/init.c +++ b/init.c @@ -1180,7 +1180,7 @@ do_route (const struct options *options, if (plugin_defined (plugins, OPENVPN_PLUGIN_ROUTE_UP)) { - if (plugin_call (plugins, OPENVPN_PLUGIN_ROUTE_UP, NULL, NULL, es) != OPENVPN_PLUGIN_FUNC_SUCCESS) + if (plugin_call (plugins, OPENVPN_PLUGIN_ROUTE_UP, NULL, NULL, es, -1, NULL) != OPENVPN_PLUGIN_FUNC_SUCCESS) msg (M_WARN, "WARNING: route-up plugin call failed"); } -- cgit v1.2.3