Initialize conftest with the same plugins as charon
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -488,7 +488,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
if (!charon->initialize(charon))
|
||||
if (!charon->initialize(charon, PLUGINS))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user