aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/xauth_null/xauth_null.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.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.c')
-rw-r--r--src/libcharon/plugins/xauth_null/xauth_null.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libcharon/plugins/xauth_null/xauth_null.c b/src/libcharon/plugins/xauth_null/xauth_null.c
index 34ed4959a..5d2b02d24 100644
--- a/src/libcharon/plugins/xauth_null/xauth_null.c
+++ b/src/libcharon/plugins/xauth_null/xauth_null.c
@@ -72,12 +72,6 @@ METHOD(xauth_method_t, initiate_server, status_t,
return NEED_MORE;
}
-METHOD(xauth_method_t, get_type, xauth_type_t,
- private_xauth_null_t *this, u_int32_t *vendor)
-{
- return XAUTH_NULL;
-}
-
METHOD(xauth_method_t, destroy, void,
private_xauth_null_t *this)
{
@@ -89,7 +83,7 @@ METHOD(xauth_method_t, destroy, void,
* Described in header.
*/
xauth_null_t *xauth_null_create_peer(identification_t *server,
- identification_t *peer)
+ identification_t *peer)
{
private_xauth_null_t *this;
@@ -98,7 +92,6 @@ xauth_null_t *xauth_null_create_peer(identification_t *server,
.xauth_method = {
.initiate = _initiate_peer,
.process = _process_peer,
- .get_type = _get_type,
.destroy = _destroy,
},
},
@@ -121,7 +114,6 @@ xauth_null_t *xauth_null_create_server(identification_t *server,
.xauth_method = {
.initiate = _initiate_server,
.process = _process_server,
- .get_type = _get_type,
.destroy = _destroy,
},
},