git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[pandora-kernel.git]
/
crypto
/
hash.c
diff --git
a/crypto/hash.c
b/crypto/hash.c
index
4d75ca7
..
4fd470b
100644
(file)
--- a/
crypto/hash.c
+++ b/
crypto/hash.c
@@
-40,7
+40,7
@@
static int hash_setkey_unaligned(struct crypto_hash *crt, const u8 *key,
alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1);
memcpy(alignbuffer, key, keylen);
ret = alg->setkey(crt, alignbuffer, keylen);
- memset(alignbuffer, 0,
absize
);
+ memset(alignbuffer, 0,
keylen
);
kfree(buffer);
return ret;
}