diff options
Diffstat (limited to 'usr.sbin/ppp/chap.c')
-rw-r--r-- | usr.sbin/ppp/chap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ppp/chap.c b/usr.sbin/ppp/chap.c index 0ca0c7f..681d95e 100644 --- a/usr.sbin/ppp/chap.c +++ b/usr.sbin/ppp/chap.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: chap.c,v 1.17 1997/05/26 00:43:56 brian Exp $ + * $Id: chap.c,v 1.18 1997/06/09 03:27:15 brian Exp $ * * TODO: */ @@ -80,8 +80,7 @@ int chapid; if (!randinit) { randinit = 1; - if (srandomdev() < 0) - srandom((unsigned long)(time(NULL) ^ getpid())); + srandomdev(); } cp = challenge_data; |