]> git.neil.brown.name Git - history.git/commitdiff
RPCSEC_GSS: Remove an unused parameter.
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Mon, 23 Aug 2004 14:09:18 +0000 (10:09 -0400)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Mon, 23 Aug 2004 14:09:18 +0000 (10:09 -0400)
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
include/linux/sunrpc/gss_asn1.h
net/sunrpc/auth_gss/gss_generic_token.c
net/sunrpc/auth_gss/gss_krb5_unseal.c

index 7559244d46b924f7428658aedb53ffe329935f53..e0e4e1dc56569d923ae707b31828ea5296afc176 100644 (file)
@@ -69,7 +69,6 @@ u32 g_verify_token_header(
      struct xdr_netobj *mech,
      int *body_size,
      unsigned char **buf_in,
-     int tok_type,
      int toksize);
 
 u32 g_get_mech_oid(struct xdr_netobj *mech, struct xdr_netobj * in_buf);
index d7b040809dd3eb95ffba28d7291f94f79b1ae954..b0951d11522ae46e716d44e59b3d0f547ac09ab5 100644 (file)
@@ -179,7 +179,7 @@ EXPORT_SYMBOL(g_make_token_header);
  */
 u32
 g_verify_token_header(struct xdr_netobj *mech, int *body_size,
-                     unsigned char **buf_in, int tok_type, int toksize)
+                     unsigned char **buf_in, int toksize)
 {
        unsigned char *buf = *buf_in;
        int seqsize;
index dcde40fe742733954e1a436d5da69cd6cf3a59f2..8767fc53183d49c105a5d366bf03ff663ef6b775 100644 (file)
@@ -96,7 +96,7 @@ krb5_read_token(struct krb5_ctx *ctx,
 
        dprintk("RPC:      krb5_read_token\n");
 
-       if (g_verify_token_header(&ctx->mech_used, &bodysize, &ptr, toktype,
+       if (g_verify_token_header(&ctx->mech_used, &bodysize, &ptr,
                                        read_token->len))
                goto out;