summaryrefslogtreecommitdiffstats
path: root/plugin.h
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-06-30 14:15:40 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 11:32:40 +0200
commit75c67073ed5d35b0efcd2a99492cf34339da08fb (patch)
treedeb4f2137dd918ae06a50bf1e89f94690526eb3a /plugin.h
parenta4c926bb5939d95d9e7c0dfd4b83e61a11f86c90 (diff)
downloadopenvpn-75c67073ed5d35b0efcd2a99492cf34339da08fb.tar.gz
openvpn-75c67073ed5d35b0efcd2a99492cf34339da08fb.tar.xz
openvpn-75c67073ed5d35b0efcd2a99492cf34339da08fb.zip
Refactored tls-verify-plugin code
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.h b/plugin.h
index d6ff08d..5518147 100644
--- a/plugin.h
+++ b/plugin.h
@@ -122,7 +122,7 @@ int plugin_call (const struct plugin_list *pl,
struct plugin_return *pr,
struct env_set *es,
int current_cert_depth,
- X509 *current_cert);
+ x509_cert_t *current_cert);
void plugin_list_close (struct plugin_list *pl);
bool plugin_defined (const struct plugin_list *pl, const int type);
@@ -176,7 +176,7 @@ plugin_call (const struct plugin_list *pl,
struct plugin_return *pr,
struct env_set *es,
int current_cert_depth,
- X509 *current_cert)
+ x509_cert_t *current_cert)
{
return 0;
}