aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/nm/nm_plugin.c
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/nm/nm_plugin.c
parent2ca7db1337f22d754955e6b2c4eafa1bd330991a (diff)
downloadstrongswan-2ccc02a4fd67d60baac8e632a71eefa86eb559fc.tar.bz2
strongswan-2ccc02a4fd67d60baac8e632a71eefa86eb559fc.tar.xz
Moved credential manager to libstrongswan
Diffstat (limited to 'src/libcharon/plugins/nm/nm_plugin.c')
-rw-r--r--src/libcharon/plugins/nm/nm_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/nm/nm_plugin.c b/src/libcharon/plugins/nm/nm_plugin.c
index 6087f6589..250e6f7f9 100644
--- a/src/libcharon/plugins/nm/nm_plugin.c
+++ b/src/libcharon/plugins/nm/nm_plugin.c
@@ -84,7 +84,7 @@ static void destroy(private_nm_plugin_t *this)
{
g_object_unref(this->plugin);
}
- charon->credentials->remove_set(charon->credentials, &this->creds->set);
+ lib->credmgr->remove_set(lib->credmgr, &this->creds->set);
hydra->attributes->remove_handler(hydra->attributes, &this->handler->handler);
this->creds->destroy(this->creds);
this->handler->destroy(this->handler);
@@ -110,7 +110,7 @@ plugin_t *nm_plugin_create()
this->creds = nm_creds_create();
this->handler = nm_handler_create();
hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
- charon->credentials->add_set(charon->credentials, &this->creds->set);
+ lib->credmgr->add_set(lib->credmgr, &this->creds->set);
this->plugin = nm_strongswan_plugin_new(this->creds, this->handler);
if (!this->plugin)
{