diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-29 14:54:43 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-06-15 17:38:53 +1000 |
commit | 7cf81954705b7e5b057f7dc39a7ded54422ab6e1 (patch) | |
tree | 547e14b1687a3d8984e46884b6c01138648ec844 /crypto/dh.c | |
parent | 95459261c99f1621d90bc628c2a48e60b7cf9a88 (diff) |
crypto: algif_skcipher - Cap recv SG list at ctx->used
Somewhere along the line the cap on the SG list length for receive
was lost. This patch restores it and removes the subsequent test
which is now redundant.
Fixes: 2d97591ef43d ("crypto: af_alg - consolidation of...")
Cc: <stable@vger.kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/dh.c')
0 files changed, 0 insertions, 0 deletions