summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-10-27 18:51:33 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-10-27 18:51:33 +0800
commit2024e7d6804b3f6251b28126eceb7f6bf2e3a4e8 (patch)
treec39cab03649b8bbb28bccb504d37af3b77bbfbf9 /crypto/testmgr.c
parent8ffd1be6779c86ebc2a1013f43fdcee8bdbba2b7 (diff)
downloadlinux-2024e7d6804b3f6251b28126eceb7f6bf2e3a4e8.tar.gz
linux-2024e7d6804b3f6251b28126eceb7f6bf2e3a4e8.tar.bz2
linux-2024e7d6804b3f6251b28126eceb7f6bf2e3a4e8.zip
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: Roel Kluin <roel.kluin@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions