use ./configured plugins in keyid scripts
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
||||
AM_CFLAGS = \
|
||||
-DIPSEC_PLUGINDIR=\"${plugindir}\" \
|
||||
-DPLUGINS="\"${libstrongswan_plugins}\"" \
|
||||
-DSTRONGSWAN_CONF=\"${strongswan_conf}\"
|
||||
|
||||
noinst_PROGRAMS = bin2array bin2sql id2sql key2keyid keyid2sql \
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
|
||||
int read;
|
||||
|
||||
library_init(NULL);
|
||||
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, "gmp pubkey sha1");
|
||||
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, PLUGINS);
|
||||
atexit(library_deinit);
|
||||
|
||||
read = fread(buf, 1, sizeof(buf), stdin);
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ int main(int argc, char *argv[])
|
||||
int read, n;
|
||||
|
||||
library_init(NULL);
|
||||
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, "gmp pubkey sha1");
|
||||
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, PLUGINS);
|
||||
atexit(library_deinit);
|
||||
|
||||
read = fread(buf, 1, sizeof(buf), stdin);
|
||||
|
||||
Reference in New Issue
Block a user