summaryrefslogtreecommitdiff
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@fys.uio.no>2005-03-10 07:58:17 -0500
committerTrond Myklebust <trond.myklebust@fys.uio.no>2005-03-10 07:58:17 -0500
commit41e3d179c4258768ca543c43d36572bf5407e952 (patch)
treebfa8abee2e2d70753d21381fbfd81b4ca3337e86 /include/linux/sunrpc
parent25326faa35335e4c23d44c755e842f3a7a57868e (diff)
RPC: clean up the RPCSEC_GSS kerberos and spkm3 context import functions
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/gss_api.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h
index 629957d710a0..69ad7313ca34 100644
--- a/include/linux/sunrpc/gss_api.h
+++ b/include/linux/sunrpc/gss_api.h
@@ -33,8 +33,9 @@ struct gss_ctx {
/* gss-api prototypes; note that these are somewhat simplified versions of
* the prototypes specified in RFC 2744. */
-u32 gss_import_sec_context(
- struct xdr_netobj *input_token,
+int gss_import_sec_context(
+ const void* input_token,
+ size_t bufsize,
struct gss_api_mech *mech,
struct gss_ctx **ctx_id);
u32 gss_get_mic(
@@ -80,8 +81,9 @@ struct gss_api_mech {
/* and must provide the following operations: */
struct gss_api_ops {
- u32 (*gss_import_sec_context)(
- struct xdr_netobj *input_token,
+ int (*gss_import_sec_context)(
+ const void *input_token,
+ size_t bufsize,
struct gss_ctx *ctx_id);
u32 (*gss_get_mic)(
struct gss_ctx *ctx_id,