aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/library.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/libstrongswan/library.c
parent2ca7db1337f22d754955e6b2c4eafa1bd330991a (diff)
downloadstrongswan-2ccc02a4fd67d60baac8e632a71eefa86eb559fc.tar.bz2
strongswan-2ccc02a4fd67d60baac8e632a71eefa86eb559fc.tar.xz
Moved credential manager to libstrongswan
Diffstat (limited to 'src/libstrongswan/library.c')
-rw-r--r--src/libstrongswan/library.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/library.c b/src/libstrongswan/library.c
index 7ed2916c8..06b0ecc22 100644
--- a/src/libstrongswan/library.c
+++ b/src/libstrongswan/library.c
@@ -67,6 +67,7 @@ void library_deinit()
this->public.plugins->destroy(this->public.plugins);
this->public.settings->destroy(this->public.settings);
+ this->public.credmgr->destroy(this->public.credmgr);
this->public.creds->destroy(this->public.creds);
this->public.encoding->destroy(this->public.encoding);
this->public.crypto->destroy(this->public.crypto);
@@ -136,6 +137,7 @@ bool library_init(char *settings)
this->public.settings = settings_create(settings);
this->public.crypto = crypto_factory_create();
this->public.creds = credential_factory_create();
+ this->public.credmgr = credential_manager_create();
this->public.encoding = key_encoding_create();
this->public.fetcher = fetcher_manager_create();
this->public.db = database_factory_create();