diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 2004-06-20 21:33:01 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 2004-06-20 21:33:01 +0000 |
commit | ab76787047dfc907e52acf85582bdc7247f05fd4 (patch) | |
tree | 4d27a8c6341a50d25af8829d7df51c1e365599f8 /sys/netiso | |
parent | abbccb6446b3ae145340f62bfdd77de763a2a6ef (diff) |
Use arc4random; request art@ deraadt@
Diffstat (limited to 'sys/netiso')
-rw-r--r-- | sys/netiso/clnp_frag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netiso/clnp_frag.c b/sys/netiso/clnp_frag.c index 80eeec257f6..4c89bddda43 100644 --- a/sys/netiso/clnp_frag.c +++ b/sys/netiso/clnp_frag.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clnp_frag.c,v 1.7 2004/06/20 21:09:02 tholo Exp $ */ +/* $OpenBSD: clnp_frag.c,v 1.8 2004/06/20 21:33:00 tholo Exp $ */ /* $NetBSD: clnp_frag.c,v 1.8 1996/04/13 01:34:23 cgd Exp $ */ /*- @@ -875,7 +875,7 @@ static int troll_cnt; float troll_random() { - long t = random() % 100; + long t = arc4random() % 100; return ((float) t / (float) 100); } |