Make plugins in standalone libimcv configurable
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 24 May 2013 10:56:21 +0000 (12:56 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 24 May 2013 10:56:21 +0000 (12:56 +0200)
src/libimcv/imcv.c

index 6cee0ad..f9ecf79 100644 (file)
@@ -118,7 +118,8 @@ bool libimcv_init(void)
                openlog("imcv", 0, LOG_DAEMON);
 
                if (!lib->plugins->load(lib->plugins, NULL,
-                                                       "sha1 sha2 random nonce gmp pubkey x509"))
+                               lib->settings->get_str(lib->settings, "libimcv.load",
+                                       "random nonce gmp pubkey x509")))
                {
                        library_deinit();
                        return FALSE;