Skip to content
Commit a367b17f authored by Steffen Klassert's avatar Steffen Klassert Committed by Herbert Xu
Browse files

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: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 36f87a4a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment