summaryrefslogtreecommitdiff
path: root/lib/libc/net/res_random.c
AgeCommit message (Expand)Author
2005-03-25ansify. ok deraadt@ moritz@Otto Moerbeek
2003-12-12niels kindly dropped clause 3/4 from the license. tnx!Jun-ichiro itojun Hagino
2003-12-12we can skip arc4random() call here. markusJun-ichiro itojun Hagino
2003-12-10correct non-repetitive ID code, based on comments from niels provos.Jun-ichiro itojun Hagino
2002-06-27%d -> %u. mostly in #ifdef DEBUG.Jun-ichiro itojun Hagino
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-01-04grammer/spellingTodd T. Fries
1999-08-26add an inner xor to make prediction attacks against the ids harder, dueNiels Provos
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-04-30Be more careful about possible type promotionThorsten Lockert
1997-04-25skipped too many idsNiels Provos
1997-04-23pmod to u_int16_t, Angelos kindly reminded meNiels Provos
1997-04-19change time() to gettimeofday()Niels Provos
1997-04-19make things more complicated.Niels Provos
1997-04-13the before mentioned random number generator.Niels Provos