randomint() bias and patch

mids <[email protected]>
Newsgroups gmane.comp.security.invisiblenet.iip.devel
Message-ID <[email protected]>
On Fri, Oct 18, 2002 at 09:27:25PM -0400, Nathan Kennedy wrote:
> As implemented, IIP's randomint(unsigned int i) function is biased when
> [cut]
> 
> I have attached a cvs patch.

Thanks for the patch, just checking the CVS mailinglist and I see that
UserX applied it.

cvs diff -C2 -d -r1.6 -r1.7 src/crypt/random.c
cvs diff -C2 -d -r1.5.2.1 -r1.5.2.2 src/crypt/random.c

mids
-- 
PGP Key: http://pgp.dtype.org:11371/pks/lookup?op=get&search=0xF19326A9
Key fingerprint = 730D 9B3A F406 F28A 957D 6397 31E8 6D4C F193 26A9
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9sQbPMehtTPGTJqkRAlrdAJ9wAaEV0TFFWR/bn59CBoi4s4KIfgCcDEKn
ESB0sAavyAp2Ia+1HsQ7isE=
=3kny
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.