summaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-12-10 01:16:09 +0100
committerDavid Sommerseth <davids@redhat.com>2011-03-25 09:38:48 +0100
commit81c97a5e2230af757c22e77cc2db129416694ee6 (patch)
treea88aeca7b39a762655851372cfd934106f998c23 /socket.c
parent76b41d7f69853b07d2a32d7179136b2781dcedf8 (diff)
downloadopenvpn-81c97a5e2230af757c22e77cc2db129416694ee6.tar.gz
openvpn-81c97a5e2230af757c22e77cc2db129416694ee6.tar.xz
openvpn-81c97a5e2230af757c22e77cc2db129416694ee6.zip
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 'socket.c')
-rw-r--r--socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 4720398..a49940d 100644
--- a/socket.c
+++ b/socket.c
@@ -1683,7 +1683,7 @@ link_socket_connection_initiated (const struct buffer *buf,
{
struct argv argv = argv_new ();
ipchange_fmt (false, &argv, info, &gc);
- if (plugin_call (info->plugins, OPENVPN_PLUGIN_IPCHANGE, &argv, NULL, es) != OPENVPN_PLUGIN_FUNC_SUCCESS)
+ if (plugin_call (info->plugins, OPENVPN_PLUGIN_IPCHANGE, &argv, NULL, es, -1, NULL) != OPENVPN_PLUGIN_FUNC_SUCCESS)
msg (M_WARN, "WARNING: ipchange plugin call failed");
argv_reset (&argv);
}