crypto: algif_aead - fix uninitialized variable warning

In case the user provided insufficient data, the code may return
prematurely without any operation. In this case, the processed
data indicated with outlen is zero.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by Stephan Mueller and committed by Herbert Xu 678b5c6b 48a99272

Changed files
+1 -1
crypto
+1 -1
crypto/algif_aead.c
··· 420 420 unsigned int i, reqlen = GET_REQ_SIZE(tfm); 421 421 int err = -ENOMEM; 422 422 unsigned long used; 423 - size_t outlen; 423 + size_t outlen = 0; 424 424 size_t usedpages = 0; 425 425 426 426 lock_sock(sk);