summaryrefslogtreecommitdiff
path: root/src/auth_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth_unix.c')
-rw-r--r--src/auth_unix.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/auth_unix.c b/src/auth_unix.c
index c2469da..5b8990f 100644
--- a/src/auth_unix.c
+++ b/src/auth_unix.c
@@ -396,6 +396,12 @@ marshal_new_auth(auth)
XDR_DESTROY(xdrs);
}
+static bool_t
+authunix_wrap(AUTH *auth, XDR *xdrs, xdrproc_t xfunc, caddr_t xwhere)
+{
+ return ((*xfunc)(xdrs, xwhere));
+}
+
static struct auth_ops *
authunix_ops()
{
@@ -411,6 +417,8 @@ authunix_ops()
ops.ah_validate = authunix_validate;
ops.ah_refresh = authunix_refresh;
ops.ah_destroy = authunix_destroy;
+ ops.ah_wrap = authunix_wrap;
+ ops.ah_unwrap = authunix_wrap;
}
mutex_unlock(&ops_lock);
return (&ops);