pass NULL to library_init() to load settings from default file
This commit is contained in:
@@ -69,7 +69,6 @@ AM_CFLAGS = \
|
||||
-DIPSEC_PIDDIR=\"${piddir}\" \
|
||||
-DSHARED_SECRETS_FILE=\"${confdir}/ipsec.secrets\" \
|
||||
-DPLUGINS=\""${pluto_plugins}\"" \
|
||||
-DSTRONGSWAN_CONF=\"${strongswan_conf}\" \
|
||||
-DPKCS11_DEFAULT_LIB=\"${default_pkcs11}\" \
|
||||
-DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES \
|
||||
-DPLUTO -DKLIPS -DDEBUG
|
||||
|
||||
@@ -261,7 +261,7 @@ int main(int argc, char **argv)
|
||||
#endif /* CAPABILITIES */
|
||||
|
||||
/* initialize library and optionsfrom */
|
||||
if (!library_init(STRONGSWAN_CONF))
|
||||
if (!library_init(NULL))
|
||||
{
|
||||
library_deinit();
|
||||
exit(SS_RC_LIBSTRONGSWAN_INTEGRITY);
|
||||
|
||||
Reference in New Issue
Block a user