pass NULL to library_init() to load settings from default file
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
||||
AM_CFLAGS = \
|
||||
-DPLUGINS="\"${libstrongswan_plugins}\"" \
|
||||
-DSTRONGSWAN_CONF=\"${strongswan_conf}\"
|
||||
-DPLUGINS="\"${libstrongswan_plugins}\""
|
||||
|
||||
noinst_PROGRAMS = bin2array bin2sql id2sql key2keyid keyid2sql \
|
||||
thread_analysis dh_speed pubkey_speed
|
||||
|
||||
+1
-1
@@ -101,7 +101,7 @@ int main(int argc, char *argv[])
|
||||
usage();
|
||||
}
|
||||
|
||||
library_init(STRONGSWAN_CONF);
|
||||
library_init(NULL);
|
||||
lib->plugins->load(lib->plugins, NULL, argv[1]);
|
||||
atexit(library_deinit);
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
|
||||
usage();
|
||||
}
|
||||
|
||||
library_init(STRONGSWAN_CONF);
|
||||
library_init(NULL);
|
||||
lib->plugins->load(lib->plugins, NULL, argv[1]);
|
||||
atexit(library_deinit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user