aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-02-16 13:04:09 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2011-02-16 13:04:09 +1100
commitfc9044e2db8c13746cd886d6276028b27ed5c78e (patch)
treedd5ef29162ba59ac85e2adf60b1e855123141ecb /crypto
parent36be070ac600d023ada2ec107ee925f5ac5f902b (diff)
downloadkernel_samsung_smdk4412-fc9044e2db8c13746cd886d6276028b27ed5c78e.zip
kernel_samsung_smdk4412-fc9044e2db8c13746cd886d6276028b27ed5c78e.tar.gz
kernel_samsung_smdk4412-fc9044e2db8c13746cd886d6276028b27ed5c78e.tar.bz2
crypto: aesni-intel - Fix remaining leak in rfc4106_set_hash_key
Fix up previous patch that failed to properly fix mem leak in rfc4106_set_hash_subkey(). This add-on patch; fixes the leak. moves kfree() out of the error path, returns -ENOMEM rather than -EINVAL when ablkcipher_request_alloc() fails. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions