aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-tkm
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2014-01-22 14:39:41 +0100
committerTobias Brunner <tobias@strongswan.org>2014-02-12 14:34:32 +0100
commit10c4f4e1fd572d731aaf0c456dfa9dcd7894a554 (patch)
tree413a71a7fc34747166f17a25ce61730173cb7d4a /src/charon-tkm
parentd347a130f55d75b726d470aa588fb1a3d9d698f2 (diff)
downloadstrongswan-10c4f4e1fd572d731aaf0c456dfa9dcd7894a554.tar.bz2
strongswan-10c4f4e1fd572d731aaf0c456dfa9dcd7894a554.tar.xz
libhydra: Remove unused hydra->daemon
Diffstat (limited to 'src/charon-tkm')
-rw-r--r--src/charon-tkm/src/charon-tkm.c2
-rw-r--r--src/charon-tkm/tests/tests.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/charon-tkm/src/charon-tkm.c b/src/charon-tkm/src/charon-tkm.c
index 1e9fecd2d..1b9fc1cfb 100644
--- a/src/charon-tkm/src/charon-tkm.c
+++ b/src/charon-tkm/src/charon-tkm.c
@@ -256,7 +256,7 @@ int main(int argc, char *argv[])
exit(status);
}
- if (!libhydra_init(dmn_name))
+ if (!libhydra_init())
{
dbg_syslog(DBG_DMN, 1, "initialization failed - aborting %s", dmn_name);
libhydra_deinit();
diff --git a/src/charon-tkm/tests/tests.c b/src/charon-tkm/tests/tests.c
index 5bbacacf3..7a2556547 100644
--- a/src/charon-tkm/tests/tests.c
+++ b/src/charon-tkm/tests/tests.c
@@ -50,7 +50,7 @@ static bool test_runner_init(bool init)
if (init)
{
- libhydra_init("test_runner");
+ libhydra_init();
libcharon_init("test_runner");
lib->settings->set_int(lib->settings,
"test_runner.filelog.stdout.default", 0);