aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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;
}