diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-12-12 14:25:15 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-03-20 17:31:17 +0100 |
commit | 41e1e435d9c70c28c3e38074d34c43e639ae79e6 (patch) | |
tree | a1405c0062ca66d9195fd465907f54366f0962a6 /src/libcharon/plugins/xauth_null/xauth_null_plugin.c | |
parent | 5c6abd2865059599124d96082c05241c682d43c3 (diff) | |
download | strongswan-41e1e435d9c70c28c3e38074d34c43e639ae79e6.tar.bz2 strongswan-41e1e435d9c70c28c3e38074d34c43e639ae79e6.tar.xz |
Removed xauth-null dummy plugin.
Diffstat (limited to 'src/libcharon/plugins/xauth_null/xauth_null_plugin.c')
-rw-r--r-- | src/libcharon/plugins/xauth_null/xauth_null_plugin.c | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/src/libcharon/plugins/xauth_null/xauth_null_plugin.c b/src/libcharon/plugins/xauth_null/xauth_null_plugin.c deleted file mode 100644 index 28ea7af8d..000000000 --- a/src/libcharon/plugins/xauth_null/xauth_null_plugin.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (C) 2008 Martin Willi - * Hochschule fuer Technik Rapperswil - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * for more details. - */ - -#include "xauth_null_plugin.h" -#include "xauth_null.h" - -#include <daemon.h> - -METHOD(plugin_t, get_name, char*, - xauth_null_plugin_t *this) -{ - return "xauth-null"; -} - -METHOD(plugin_t, get_features, int, - xauth_null_plugin_t *this, plugin_feature_t *features[]) -{ - static plugin_feature_t f[] = { - PLUGIN_CALLBACK(xauth_method_register, xauth_null_create_server), - PLUGIN_PROVIDE(XAUTH_SERVER, "null"), - PLUGIN_CALLBACK(xauth_method_register, xauth_null_create_peer), - PLUGIN_PROVIDE(XAUTH_PEER, "null"), - }; - *features = f; - return countof(f); -} - -METHOD(plugin_t, destroy, void, - xauth_null_plugin_t *this) -{ - free(this); -} - -/* - * see header file - */ -plugin_t *xauth_null_plugin_create() -{ - xauth_null_plugin_t *this; - - INIT(this, - .plugin = { - .get_name = _get_name, - .get_features = _get_features, - .destroy = _destroy, - }, - ); - - return &this->plugin; -} |