aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-07-06 14:05:49 +0200
committerMartin Willi <martin@revosec.ch>2012-07-16 14:53:37 +0200
commit71c41410fc0b3c9022f1fe59f7b988363b84abea (patch)
tree63cb96c6ca7ce9eb7eb8e208de49e8e31b2b638d /src
parenta6733d8e85df135b3ff8fee346971290470350b3 (diff)
downloadstrongswan-71c41410fc0b3c9022f1fe59f7b988363b84abea.tar.bz2
strongswan-71c41410fc0b3c9022f1fe59f7b988363b84abea.tar.xz
Initialize conftest with the same plugins as charon
Diffstat (limited to 'src')
-rw-r--r--src/conftest/Makefile.am3
-rw-r--r--src/conftest/conftest.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/conftest/Makefile.am b/src/conftest/Makefile.am
index 7eab0df27..64a2cc6d3 100644
--- a/src/conftest/Makefile.am
+++ b/src/conftest/Makefile.am
@@ -1,6 +1,7 @@
ipsec_PROGRAMS = conftest
-AM_CFLAGS = -rdynamic
+AM_CFLAGS = -rdynamic \
+ -DPLUGINS=\""${charon_plugins}\""
conftest_SOURCES = conftest.c conftest.h config.c config.h actions.c actions.h \
hooks/hook.h hooks/ike_auth_fill.c hooks/unsort_message.c \
diff --git a/src/conftest/conftest.c b/src/conftest/conftest.c
index 612397237..00decdd4b 100644
--- a/src/conftest/conftest.c
+++ b/src/conftest/conftest.c
@@ -488,7 +488,7 @@ int main(int argc, char *argv[])
{
return 1;
}
- if (!charon->initialize(charon))
+ if (!charon->initialize(charon, PLUGINS))
{
return 1;
}