aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-tkm/tests/test_runner.c
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2013-01-23 13:51:12 +0100
committerTobias Brunner <tobias@strongswan.org>2013-03-19 15:23:50 +0100
commitae6f4ee39fe8a53fef977be12bb66e95c4e6134a (patch)
treef904cf7eda7efd7451c88657ae066a76078f3a99 /src/charon-tkm/tests/test_runner.c
parent32b2ea9edb0609eee138f803439ba2b2d5ba9228 (diff)
downloadstrongswan-ae6f4ee39fe8a53fef977be12bb66e95c4e6134a.tar.bz2
strongswan-ae6f4ee39fe8a53fef977be12bb66e95c4e6134a.tar.xz
Don't manually register kernel_netlink_net
Load complete kernel_netlink plugin instead. Registering the TKM specific plugins first still ensures that the correct ipsec plugin is used. Lazy initialize the RNG_WEAK plugin to avoid the unsatisfiable soft dependency on startup.
Diffstat (limited to 'src/charon-tkm/tests/test_runner.c')
-rw-r--r--src/charon-tkm/tests/test_runner.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/charon-tkm/tests/test_runner.c b/src/charon-tkm/tests/test_runner.c
index b22f1ff20..5ae032935 100644
--- a/src/charon-tkm/tests/test_runner.c
+++ b/src/charon-tkm/tests/test_runner.c
@@ -17,7 +17,6 @@
#include <library.h>
#include <hydra.h>
#include <daemon.h>
-#include <plugins/kernel_netlink/kernel_netlink_net.h>
#include "tkm.h"
#include "tkm_nonceg.h"
@@ -44,9 +43,6 @@ int main(void)
PLUGIN_PROVIDE(DH, MODP_4096_BIT),
PLUGIN_CALLBACK(kernel_ipsec_register, tkm_kernel_ipsec_create),
PLUGIN_PROVIDE(CUSTOM, "kernel-ipsec"),
- PLUGIN_DEPENDS(RNG, RNG_WEAK),
- PLUGIN_CALLBACK(kernel_net_register, kernel_netlink_net_create),
- PLUGIN_PROVIDE(CUSTOM, "kernel-net"),
};
lib->plugins->add_static_features(lib->plugins, "tkm-tests", features,
countof(features), TRUE);