commit | fc9044e2db8c13746cd886d6276028b27ed5c78e | [log] [tgz] |
---|---|---|
author | Jesper Juhl <jj@chaosbits.net> | Wed Feb 16 13:04:09 2011 +1100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Feb 16 13:04:09 2011 +1100 |
tree | dd5ef29162ba59ac85e2adf60b1e855123141ecb | |
parent | 36be070ac600d023ada2ec107ee925f5ac5f902b [diff] |
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>