aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-09-08 20:01:13 +0200
committerMartin Willi <martin@strongswan.org>2009-09-10 18:52:42 +0200
commit356b2b2780fc52be410ff6e03a23eb1993bfe3fc (patch)
tree6ae4d5b38e2dab100ce374449493579719476682 /scripts
parent5b03a350fc7093aa6984dfcafede98fbb62809eb (diff)
downloadstrongswan-356b2b2780fc52be410ff6e03a23eb1993bfe3fc.tar.bz2
strongswan-356b2b2780fc52be410ff6e03a23eb1993bfe3fc.tar.xz
pass NULL to library_init() to load settings from default file
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am3
-rw-r--r--scripts/dh_speed.c2
-rw-r--r--scripts/pubkey_speed.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 8a70d79e2..24e3cd164 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -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
diff --git a/scripts/dh_speed.c b/scripts/dh_speed.c
index 80a1d2d30..b85bf1ad8 100644
--- a/scripts/dh_speed.c
+++ b/scripts/dh_speed.c
@@ -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);
diff --git a/scripts/pubkey_speed.c b/scripts/pubkey_speed.c
index b51de0961..e6c668832 100644
--- a/scripts/pubkey_speed.c
+++ b/scripts/pubkey_speed.c
@@ -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);