aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/load_tester
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-07-05 11:54:25 +0200
committerMartin Willi <martin@revosec.ch>2010-07-13 10:26:07 +0200
commit2ccc02a4fd67d60baac8e632a71eefa86eb559fc (patch)
tree654c6e24dfdcad0a19cfd5c53cde9b5ea155fe27 /src/libcharon/plugins/load_tester
parent2ca7db1337f22d754955e6b2c4eafa1bd330991a (diff)
downloadstrongswan-2ccc02a4fd67d60baac8e632a71eefa86eb559fc.tar.bz2
strongswan-2ccc02a4fd67d60baac8e632a71eefa86eb559fc.tar.xz
Moved credential manager to libstrongswan
Diffstat (limited to 'src/libcharon/plugins/load_tester')
-rw-r--r--src/libcharon/plugins/load_tester/load_tester_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_plugin.c b/src/libcharon/plugins/load_tester/load_tester_plugin.c
index 46145b803..15dbccb00 100644
--- a/src/libcharon/plugins/load_tester/load_tester_plugin.c
+++ b/src/libcharon/plugins/load_tester/load_tester_plugin.c
@@ -158,7 +158,7 @@ static void destroy(private_load_tester_plugin_t *this)
charon->kernel_interface->remove_ipsec_interface(charon->kernel_interface,
(kernel_ipsec_constructor_t)load_tester_ipsec_create);
charon->backends->remove_backend(charon->backends, &this->config->backend);
- charon->credentials->remove_set(charon->credentials, &this->creds->credential_set);
+ lib->credmgr->remove_set(lib->credmgr, &this->creds->credential_set);
charon->bus->remove_listener(charon->bus, &this->listener->listener);
this->config->destroy(this->config);
this->creds->destroy(this->creds);
@@ -209,7 +209,7 @@ plugin_t *load_tester_plugin_create()
this->creds = load_tester_creds_create();
this->listener = load_tester_listener_create(shutdown_on);
charon->backends->add_backend(charon->backends, &this->config->backend);
- charon->credentials->add_set(charon->credentials, &this->creds->credential_set);
+ lib->credmgr->add_set(lib->credmgr, &this->creds->credential_set);
charon->bus->add_listener(charon->bus, &this->listener->listener);
if (lib->settings->get_bool(lib->settings,