crypto: drbg - Fixes panic in wait_for_completion call
authorStephan Mueller <smueller@chronox.de>
Fri, 26 May 2017 10:11:31 +0000 (12:11 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Jun 2017 08:47:21 +0000 (16:47 +0800)
commitb61929c654f2e725644935737c4c1ea9c741e2f8
treedf0daa413f152af8303615e2ea11778812f293e1
parentd41519a69b35b10af7fda867fb9100df24fdf403
crypto: drbg - Fixes panic in wait_for_completion call

Initialise ctr_completion variable before use.

Cc: <stable@vger.kernel.org>
Signed-off-by: Harsh Jain <harshjain.prof@gmail.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c