summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/gss_krb5_seal.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@fieldses.org>2005-10-13 16:55:23 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-18 23:19:47 -0700
commita0857d03b21fa54653c9d2fe7a315381176015b4 (patch)
treeac7fcc4415795b9d4530de300ef555cd624727d8 /net/sunrpc/auth_gss/gss_krb5_seal.c
parent00fd6e14255fe7a249315746386d640bc4e9e758 (diff)
downloadlinux-a0857d03b21fa54653c9d2fe7a315381176015b4.tar.gz
linux-a0857d03b21fa54653c9d2fe7a315381176015b4.tar.bz2
linux-a0857d03b21fa54653c9d2fe7a315381176015b4.zip
RPCSEC_GSS: krb5 cleanup
Remove some senseless wrappers. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_krb5_seal.c')
-rw-r--r--net/sunrpc/auth_gss/gss_krb5_seal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sunrpc/auth_gss/gss_krb5_seal.c b/net/sunrpc/auth_gss/gss_krb5_seal.c
index 15227c727c8b..13f8ae979454 100644
--- a/net/sunrpc/auth_gss/gss_krb5_seal.c
+++ b/net/sunrpc/auth_gss/gss_krb5_seal.c
@@ -71,9 +71,10 @@
#endif
u32
-krb5_make_token(struct krb5_ctx *ctx,
- struct xdr_buf *text, struct xdr_netobj *token)
+gss_get_mic_kerberos(struct gss_ctx *gss_ctx, struct xdr_buf *text,
+ struct xdr_netobj *token)
{
+ struct krb5_ctx *ctx = gss_ctx->internal_ctx_id;
s32 checksum_type;
struct xdr_netobj md5cksum = {.len = 0, .data = NULL};
unsigned char *ptr, *krb5_hdr, *msg_start;