aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/library.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-06-25 17:17:40 +0200
committerTobias Brunner <tobias@strongswan.org>2013-06-25 17:17:40 +0200
commit9da5a2ed1e72d1b68feefd5811a089d0881dd87d (patch)
tree2eeb8375e6ffb24321e1d7e3a4ba06183bf9eaec /src/libstrongswan/library.c
parenta65024264379bacc2733282f2b59b8c14e3897c0 (diff)
parentac2ffde4ae8ceaddeab8b6f740804536033153e6 (diff)
downloadstrongswan-9da5a2ed1e72d1b68feefd5811a089d0881dd87d.tar.bz2
strongswan-9da5a2ed1e72d1b68feefd5811a089d0881dd87d.tar.xz
Merge branch 'check-caps'
Plugins may now ensure the process has all the required capabilities. Some minor changes to UID/GID handling are also included.
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 174a4cbe9..05d984b18 100644
--- a/src/libstrongswan/library.c
+++ b/src/libstrongswan/library.c
@@ -89,6 +89,7 @@ void library_deinit()
this->public.creds->destroy(this->public.creds);
this->public.encoding->destroy(this->public.encoding);
this->public.crypto->destroy(this->public.crypto);
+ this->public.caps->destroy(this->public.caps);
this->public.proposal->destroy(this->public.proposal);
this->public.fetcher->destroy(this->public.fetcher);
this->public.resolver->destroy(this->public.resolver);
@@ -255,6 +256,7 @@ bool library_init(char *settings)
this->public.settings = settings_create(settings);
this->public.hosts = host_resolver_create();
this->public.proposal = proposal_keywords_create();
+ this->public.caps = capabilities_create();
this->public.crypto = crypto_factory_create();
this->public.creds = credential_factory_create();
this->public.credmgr = credential_manager_create();