plugin-loader: Removed unused path argument of load() method
Multiple additional search paths can be added with the add_path() method.
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ bool libimcv_init(bool is_imv)
|
||||
dbg = imcv_dbg;
|
||||
openlog("imcv", 0, LOG_DAEMON);
|
||||
|
||||
if (!lib->plugins->load(lib->plugins, NULL,
|
||||
if (!lib->plugins->load(lib->plugins,
|
||||
lib->settings->get_str(lib->settings, "libimcv.load",
|
||||
"random nonce gmp pubkey x509")))
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include "imv_policy_manager_usage.h"
|
||||
#include "imv_workitem.h"
|
||||
|
||||
|
||||
#include <library.h>
|
||||
#include <utils/debug.h>
|
||||
|
||||
@@ -251,7 +251,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
exit(SS_RC_LIBSTRONGSWAN_INTEGRITY);
|
||||
}
|
||||
if (!lib->plugins->load(lib->plugins, NULL,
|
||||
if (!lib->plugins->load(lib->plugins,
|
||||
lib->settings->get_str(lib->settings, "imv_policy_manager.load",
|
||||
"sqlite")))
|
||||
{
|
||||
@@ -285,7 +285,7 @@ int main(int argc, char *argv[])
|
||||
exit(SS_RC_INITIALIZATION_FAILED);
|
||||
}
|
||||
session_id = atoi(tnc_session_id);
|
||||
|
||||
|
||||
/* attach IMV database */
|
||||
uri = lib->settings->get_str(lib->settings, "libimcv.database", NULL);
|
||||
if (!uri)
|
||||
|
||||
@@ -470,7 +470,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
exit(SS_RC_LIBSTRONGSWAN_INTEGRITY);
|
||||
}
|
||||
if (!lib->plugins->load(lib->plugins, NULL,
|
||||
if (!lib->plugins->load(lib->plugins,
|
||||
lib->settings->get_str(lib->settings, "attest.load", "sqlite")))
|
||||
{
|
||||
exit(SS_RC_INITIALIZATION_FAILED);
|
||||
|
||||
Reference in New Issue
Block a user