diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-15 20:41:37 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-15 20:41:37 +0100 |
commit | 19c75bcbe0113cbbf05e4d89e0502a23358bfca9 (patch) | |
tree | 544d6b73341ebc66802ae38732d8009d67008aab /crypto/asymmetric_keys | |
parent | afs, rxrpc: Update the MAINTAINERS file (diff) | |
parent | crypto: skcipher - fix crash in virtual walk (diff) | |
download | linux-19c75bcbe0113cbbf05e4d89e0502a23358bfca9.tar.xz linux-19c75bcbe0113cbbf05e4d89e0502a23358bfca9.zip |
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fixes from Herbert Xu:
"This fixes the following issues:
- a crash regression in the new skcipher walker
- incorrect return value in public_key_verify_signature
- fix for in-place signing in the sign-file utility"
* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
crypto: skcipher - fix crash in virtual walk
sign-file: Fix inplace signing when src and dst names are both specified
crypto: asymmetric_keys - set error code on failure
Diffstat (limited to 'crypto/asymmetric_keys')
-rw-r--r-- | crypto/asymmetric_keys/public_key.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/public_key.c b/crypto/asymmetric_keys/public_key.c index fd76b5fc3b3a..d3a989e718f5 100644 --- a/crypto/asymmetric_keys/public_key.c +++ b/crypto/asymmetric_keys/public_key.c @@ -121,6 +121,7 @@ int public_key_verify_signature(const struct public_key *pkey, if (ret) goto error_free_req; + ret = -ENOMEM; outlen = crypto_akcipher_maxsize(tfm); output = kmalloc(outlen, GFP_KERNEL); if (!output) |