diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 20:04:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 20:04:06 -0400 |
commit | 359ea2f1352a77177540a213283bc7489f546ced (patch) | |
tree | 95a313a9d920e432bafcdf68a9c7fb0812aa389b /crypto/hmac.c | |
parent | 960b8466548c9bc6f718b5f470c1a58000fab09d (diff) | |
parent | e1d5dea1dfbfe484358c40db7f233ed6b5605646 (diff) |
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'crypto/hmac.c')
-rw-r--r-- | crypto/hmac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/hmac.c b/crypto/hmac.c index 847df9263e16..da0456b37109 100644 --- a/crypto/hmac.c +++ b/crypto/hmac.c | |||
@@ -49,8 +49,7 @@ int crypto_alloc_hmac_block(struct crypto_tfm *tfm) | |||
49 | 49 | ||
50 | void crypto_free_hmac_block(struct crypto_tfm *tfm) | 50 | void crypto_free_hmac_block(struct crypto_tfm *tfm) |
51 | { | 51 | { |
52 | if (tfm->crt_digest.dit_hmac_block) | 52 | kfree(tfm->crt_digest.dit_hmac_block); |
53 | kfree(tfm->crt_digest.dit_hmac_block); | ||
54 | } | 53 | } |
55 | 54 | ||
56 | void crypto_hmac_init(struct crypto_tfm *tfm, u8 *key, unsigned int *keylen) | 55 | void crypto_hmac_init(struct crypto_tfm *tfm, u8 *key, unsigned int *keylen) |