summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/gss_spkm3_unseal.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@fieldses.org>2006-01-03 09:56:00 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-01-06 14:58:59 -0500
commit9eed129bbde80cbd7ffeacaa1555ba1e0c9a0997 (patch)
tree49066f9b5321e09cf9696e5b69d454bf1e393eb0 /net/sunrpc/auth_gss/gss_spkm3_unseal.c
parent26c78e156b1d1b2387ec33b5f2fb62d6e0a186a3 (diff)
downloadtalos-obmc-linux-9eed129bbde80cbd7ffeacaa1555ba1e0c9a0997.tar.gz
talos-obmc-linux-9eed129bbde80cbd7ffeacaa1555ba1e0c9a0997.zip
SUNRPC: Update the spkm3 code to use the make_checksum interface
Also update the tokenlen calculations to accomodate g_token_size(). Signed-off-by: Andy Adamson <andros@citi.umich.edu> 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_spkm3_unseal.c')
-rw-r--r--net/sunrpc/auth_gss/gss_spkm3_unseal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/gss_spkm3_unseal.c b/net/sunrpc/auth_gss/gss_spkm3_unseal.c
index 241d5b30dfcb..96851b0ba1ba 100644
--- a/net/sunrpc/auth_gss/gss_spkm3_unseal.c
+++ b/net/sunrpc/auth_gss/gss_spkm3_unseal.c
@@ -95,7 +95,7 @@ spkm3_read_token(struct spkm3_ctx *ctx,
ret = GSS_S_DEFECTIVE_TOKEN;
code = make_checksum(CKSUMTYPE_RSA_MD5, ptr + 2,
mic_hdrlen + 2,
- message_buffer, &md5cksum);
+ message_buffer, 0, &md5cksum);
if (code)
goto out;
OpenPOWER on IntegriCloud