From: Andreas Steffen Date: Fri, 24 May 2013 10:56:21 +0000 (+0200) Subject: Make plugins in standalone libimcv configurable X-Git-Tag: 5.1.0dr1~139 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71d740cac68f83c77d981368a4c041eb620310ed;p=thirdparty%2Fstrongswan.git Make plugins in standalone libimcv configurable --- diff --git a/src/libimcv/imcv.c b/src/libimcv/imcv.c index 6cee0ad8fa..f9ecf793dd 100644 --- a/src/libimcv/imcv.c +++ b/src/libimcv/imcv.c @@ -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;