loading default modules depending on configure options
This commit is contained in:
@@ -4,6 +4,6 @@ dist_man_MANS = openac.8
|
||||
|
||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan
|
||||
AM_CFLAGS = -DIPSEC_CONFDIR=\"${confdir}\" \
|
||||
-DIPSEC_PLUGINDIR=\"${plugindir}\"
|
||||
-DIPSEC_PLUGINDIR=\"${plugindir}\" -DPLUGINS=\""${libstrongswan_plugins}\""
|
||||
openac_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la -lgmp
|
||||
|
||||
|
||||
+1
-2
@@ -268,8 +268,7 @@ int main(int argc, char **argv)
|
||||
/* initialize library */
|
||||
library_init(STRONGSWAN_CONF);
|
||||
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR,
|
||||
lib->settings->get_str(lib->settings, "openac.load",
|
||||
"gmp hmac md5 random sha1 sha2 pubkey x509"));
|
||||
lib->settings->get_str(lib->settings, "openac.load", PLUGINS));
|
||||
|
||||
/* initialize optionsfrom */
|
||||
options_t *options = options_create();
|
||||
|
||||
Reference in New Issue
Block a user