Initialize conftest with the same plugins as charon

This commit is contained in:
Martin Willi committed 2012-07-16 14:53:37 +02:00
1 parent a6733d8e85
commit 71c41410fc
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -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 \
+1 -1
View File
@@ -488,7 +488,7 @@ int main(int argc, char *argv[])
{
return 1;
}
if (!charon->initialize(charon))
if (!charon->initialize(charon, PLUGINS))
{
return 1;
}