Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 2024e7d6 authored by Roel Kluin's avatar Roel Kluin Committed by Herbert Xu
Browse files

crypto: ansi_cprng - Fix test in get_prng_bytes


size_t nbytes cannot be less than 0 and the test was redundant.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 8ffd1be6
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