plugin load configuration in strongswan.conf

some components accept a "component.load" option with a space separated list of plugins to load
  libcharon- plugins are now handled the same way as libstrongswan- plugins
This commit is contained in:
Martin Willi
2008-05-15 14:01:26 +00:00
parent 84770ded1e
commit a3d92a3745
21 changed files with 169 additions and 118 deletions
+3 -1
View File
@@ -267,7 +267,9 @@ int main(int argc, char **argv)
/* initialize library */
library_init(STRONGSWAN_CONF);
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR, "libstrongswan-");
lib->plugins->load(lib->plugins, IPSEC_PLUGINDIR,
lib->settings->get_str(lib->settings, "openac.load",
"gmp hmac md5 random sha1 sha2 pubkey x509"))
/* initialize optionsfrom */
options_t *options = options_create();