diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-12-10 01:16:09 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-03-25 09:38:48 +0100 |
commit | 81c97a5e2230af757c22e77cc2db129416694ee6 (patch) | |
tree | a88aeca7b39a762655851372cfd934106f998c23 /init.c | |
parent | Implement the core v3 plug-in function calls. (diff) | |
download | openvpn-81c97a5e2230af757c22e77cc2db129416694ee6.tar.xz |
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 <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
Diffstat (limited to '')
-rw-r--r-- | init.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |