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 --- plugin.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugin.h') diff --git a/plugin.h b/plugin.h index 214db2f..846973f 100644 --- a/plugin.h +++ b/plugin.h @@ -120,7 +120,9 @@ int plugin_call (const struct plugin_list *pl, const int type, const struct argv *av, struct plugin_return *pr, - struct env_set *es); + struct env_set *es, + int current_cert_depth, + X509 *current_cert); void plugin_list_close (struct plugin_list *pl); bool plugin_defined (const struct plugin_list *pl, const int type); -- cgit