summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.h
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/testmgr.h
parent36be070ac600d023ada2ec107ee925f5ac5f902b (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>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions