]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: drbg - fix error return code
authorWei Yongjun <weiyj.lk@gmail.com>
Sat, 20 Aug 2016 15:06:51 +0000 (15:06 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 24 Aug 2016 13:04:49 +0000 (21:04 +0800)
commit1a45d7e343251e5396d353c1ae6ab1cebead9766
treef9edd012502353540c2e00f997aa55ca570dc482
parentb46b9d1aadf7f31eb5c0bab20cd61e71011156cf
crypto: drbg - fix error return code

Fix to return a negative error code from the error handling
case instead of 0.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Acked-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c