aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/xauth_null/xauth_null_plugin.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2011-12-08 16:42:11 +0100
committerMartin Willi <martin@revosec.ch>2012-03-20 17:31:15 +0100
commit1fe6cdfac2631434464a2a550414f45b60558369 (patch)
tree2a75220c67aed067682c5364be5969a274b1294b /src/libcharon/plugins/xauth_null/xauth_null_plugin.c
parent4e73f85b818c3abf48f5c5ae3db98cc6be7dd34f (diff)
downloadstrongswan-1fe6cdfac2631434464a2a550414f45b60558369.tar.bz2
strongswan-1fe6cdfac2631434464a2a550414f45b60558369.tar.xz
Use a string to identify xauth backends, no need for integer types
Diffstat (limited to 'src/libcharon/plugins/xauth_null/xauth_null_plugin.c')
-rw-r--r--src/libcharon/plugins/xauth_null/xauth_null_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/xauth_null/xauth_null_plugin.c b/src/libcharon/plugins/xauth_null/xauth_null_plugin.c
index 25b7b3841..28ea7af8d 100644
--- a/src/libcharon/plugins/xauth_null/xauth_null_plugin.c
+++ b/src/libcharon/plugins/xauth_null/xauth_null_plugin.c
@@ -29,9 +29,9 @@ METHOD(plugin_t, get_features, int,
{
static plugin_feature_t f[] = {
PLUGIN_CALLBACK(xauth_method_register, xauth_null_create_server),
- PLUGIN_PROVIDE(XAUTH_SERVER, XAUTH_NULL),
+ PLUGIN_PROVIDE(XAUTH_SERVER, "null"),
PLUGIN_CALLBACK(xauth_method_register, xauth_null_create_peer),
- PLUGIN_PROVIDE(XAUTH_PEER, XAUTH_NULL),
+ PLUGIN_PROVIDE(XAUTH_PEER, "null"),
};
*features = f;
return countof(f);