diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-12-18 16:31:01 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-12-18 16:31:12 +0100 |
commit | 5932f41fccf168253c30fdca4f53055a20cdba63 (patch) | |
tree | f783622ffaef2196e9043b3ddead8492da087040 /src/libcharon/plugins/load_tester | |
parent | ae09bc62bc481b347593532db49dfe6a281f4225 (diff) | |
download | strongswan-5932f41fccf168253c30fdca4f53055a20cdba63.tar.bz2 strongswan-5932f41fccf168253c30fdca4f53055a20cdba63.tar.xz |
trace back crypto algorithms to the plugins that registered them
Diffstat (limited to 'src/libcharon/plugins/load_tester')
-rw-r--r-- | src/libcharon/plugins/load_tester/load_tester_plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_plugin.c b/src/libcharon/plugins/load_tester/load_tester_plugin.c index cb9b80c7f..8fd65adfa 100644 --- a/src/libcharon/plugins/load_tester/load_tester_plugin.c +++ b/src/libcharon/plugins/load_tester/load_tester_plugin.c @@ -28,6 +28,8 @@ #include <threading/condvar.h> #include <threading/mutex.h> +static const char *plugin_name = "load_tester"; + typedef struct private_load_tester_plugin_t private_load_tester_plugin_t; /** @@ -189,7 +191,7 @@ plugin_t *load_tester_plugin_create() this = malloc_thing(private_load_tester_plugin_t); this->public.plugin.destroy = (void(*)(plugin_t*))destroy; - lib->crypto->add_dh(lib->crypto, MODP_NULL, + lib->crypto->add_dh(lib->crypto, MODP_NULL, plugin_name, (dh_constructor_t)load_tester_diffie_hellman_create); this->delay = lib->settings->get_int(lib->settings, |