]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
plugin.h: update prototype of plugin_call dummy in !ENABLE_PLUGIN case
authorStefan Hellermann <stefan@the2masters.de>
Sun, 27 Feb 2011 21:15:44 +0000 (22:15 +0100)
committerDavid Sommerseth <davids@redhat.com>
Fri, 25 Mar 2011 08:38:48 +0000 (09:38 +0100)
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>
plugin.h

index 846973f2a11e284d3e99bae664b0575d49a48390..9d48651d205f25169597ad21de5aaca8842132de 100644 (file)
--- 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;
 }