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:
Tobias Brunner
2013-06-28 10:44:15 +02:00
parent 9da142b4dc
commit b18a531715
25 changed files with 33 additions and 37 deletions
+1 -1
View File
@@ -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")))
{
+3 -3
View File
@@ -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)
+1 -1
View File
@@ -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);