Joe Orton wrote:
> Index: test/testrand.c
> ===================================================================
> RCS file: /home/cvs/apr/test/testrand.c,v
> retrieving revision 1.10
> diff -u -r1.10 testrand.c
> --- test/testrand.c 1 Jan 2003 00:01:56 -0000 1.10
> +++ test/testrand.c 16 Apr 2003 11:02:12 -0000
> @@ -71,7 +71,7 @@
> * what it is right now.
> */
> for (i = 1; i <= 8; i++) {
> - rv = apr_generate_random_bytes(c, i * 255);
> + rv = apr_generate_weak_random_bytes(c, i * 255);
> apr_assert_success(tc, "apr_generate_random_bytes failed", rv);
> }
> #endif
Woah! The randomness tester is chewing nearly 4k of entropy? That's
insane!!!
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html http://www.thebunker.net/
"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff