summaryrefslogtreecommitdiffstats
path: root/plugin.h
diff options
context:
space:
mode:
authorStefan Hellermann <stefan@the2masters.de>2011-02-27 22:15:44 +0100
committerDavid Sommerseth <davids@redhat.com>2011-03-25 09:38:48 +0100
commit3097fddcad47931a2bd2d91935cc9bad3982b6ea (patch)
tree2e1f2e586e6519d56930b3d590f4859a474f56ad /plugin.h
parentdc299b6e7d0413d0a311c33ffb14591b5c8d1d96 (diff)
downloadopenvpn-3097fddcad47931a2bd2d91935cc9bad3982b6ea.tar.gz
openvpn-3097fddcad47931a2bd2d91935cc9bad3982b6ea.tar.xz
openvpn-3097fddcad47931a2bd2d91935cc9bad3982b6ea.zip
plugin.h: update prototype of plugin_call dummy in !ENABLE_PLUGIN case
Commit 2db5a0ac3e053857d97e468de53e70a605f54561 adds two arguments to plugin_call(...), but missed the !ENABLE_PLUGIN case. With !ENABLE_PLUGIN, plugin_call(...) is only a dummy, so add these two parameters there too. Signed-off-by: Stefan Hellermann <stefan@the2masters.de> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin.h b/plugin.h
index 846973f..9d48651 100644
--- a/plugin.h
+++ b/plugin.h
@@ -174,7 +174,9 @@ 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);
{
return 0;
}