Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=61322b30139b79ec77170723a3a80043dcc94e87
Commit:     61322b30139b79ec77170723a3a80043dcc94e87
Parent:     b80e183deff5f3d43565b552ed91e511128a6ea9
Author:     J. Bruce Fields - unquoted <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 10 01:33:27 2007 -0500
Committer:  Trond Myklebust <[EMAIL PROTECTED]>
CommitDate: Wed May 2 07:37:07 2007 -0700

    spkm3: initialize hash
    
    There's an initialization step here I missed.
    
    Signed-off-by: J. Bruce Fields <[EMAIL PROTECTED]>
    Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]>
---
 net/sunrpc/auth_gss/gss_spkm3_seal.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/net/sunrpc/auth_gss/gss_spkm3_seal.c 
b/net/sunrpc/auth_gss/gss_spkm3_seal.c
index 3ec9cd3..d158635 100644
--- a/net/sunrpc/auth_gss/gss_spkm3_seal.c
+++ b/net/sunrpc/auth_gss/gss_spkm3_seal.c
@@ -169,6 +169,10 @@ make_spkm3_checksum(s32 cksumtype, struct xdr_netobj *key, 
char *header,
        if (err)
                goto out;
 
+       err = crypto_hash_init(&desc);
+       if (err)
+               goto out;
+
        sg_set_buf(sg, header, hdrlen);
        crypto_hash_update(&desc, sg, sg->length);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to