loading default modules depending on configure options

This commit is contained in:
Martin Willi
2008-05-16 08:52:32 +00:00
parent d8ff9eee6b
commit 1ba62b5562
12 changed files with 107 additions and 35 deletions
+1 -2
View File
@@ -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();