linux/net/sunrpc/auth_gss
Kevin Coffman 4ab4b0bedd sunrpc: make token header values less confusing
g_make_token_header() and g_token_size() add two too many, and
therefore their callers pass in "(logical_value - 2)" rather
than "logical_value" as hard-coded values which causes confusion.

This dates back to the original g_make_token_header which took an
optional token type (token_id) value and added it to the token.
This was removed, but the routine always adds room for the token_id
rather than not.

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2008-04-23 16:13:41 -04:00
..
auth_gss.c net: replace remaining __FUNCTION__ occurrences 2008-03-05 20:47:47 -08:00
gss_generic_token.c sunrpc: make token header values less confusing 2008-04-23 16:13:41 -04:00
gss_krb5_crypto.c Correct grammer/typos in dprintks 2008-04-23 16:13:40 -04:00
gss_krb5_mech.c sunrpc: return error if unsupported enctype or cksumtype is encountered 2007-11-17 13:08:46 -05:00
gss_krb5_seal.c sunrpc: make token header values less confusing 2008-04-23 16:13:41 -04:00
gss_krb5_seqnum.c gss_krb5: consistently use unsigned for seqnum 2008-04-23 16:13:41 -04:00
gss_krb5_unseal.c gss_krb5: consistently use unsigned for seqnum 2008-04-23 16:13:41 -04:00
gss_krb5_wrap.c sunrpc: make token header values less confusing 2008-04-23 16:13:41 -04:00
gss_mech_switch.c [SUNRPC]: net/* NULL noise 2008-03-17 22:48:03 -07:00
gss_spkm3_mech.c knfsd: rpc: add gss krb5 and spkm3 oid values 2007-07-17 10:23:08 -07:00
gss_spkm3_seal.c sunrpc: make token header values less confusing 2008-04-23 16:13:41 -04:00
gss_spkm3_token.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
gss_spkm3_unseal.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
Makefile RPCSEC_GSS: Add support for privacy to krb5 rpcsec_gss mechanism. 2005-10-18 23:19:46 -07:00
svcauth_gss.c sunrpc: GSS integrity and decryption failures should return GARBAGE_ARGS 2008-04-23 16:13:39 -04:00