]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 6cee0ad8fac1c03dc103870a69d62605c27d31db..f9ecf793dd90d0802a96918c7b9b1fec0245f025 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;