crypto: ansi_cprng - Fix module initialization
authorSteffen Klassert <steffen.klassert@secunet.com>
Sat, 29 Aug 2009 07:36:25 +0000 (17:36 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 29 Aug 2009 07:36:25 +0000 (17:36 +1000)
commita367b17f34e1280270a6b577c11d5ecff093f9ae
tree62b8906852cf2fd85821d9b90ce025240a7b9e9f
parent36f87a4a29cb8cd291169483079fde34bad4ef16
crypto: ansi_cprng - Fix module initialization

Return the value we got from crypto_register_alg() instead of
returning 0 in any case.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ansi_cprng.c