Remove srandomdev fallback code
This commit is contained in:
parent
3eb72e5222
commit
05b5685ff5
@ -199,8 +199,7 @@ char *av[];
|
||||
#endif
|
||||
|
||||
init_prob();
|
||||
if (srandomdev() < 0)
|
||||
srandom((unsigned long)(time((time_t *) NULL) ^ getpid()));
|
||||
srandomdev();
|
||||
do {
|
||||
get_fort();
|
||||
} while ((Short_only && fortlen() > SLEN) ||
|
||||
|
@ -103,8 +103,7 @@ main(argc, argv)
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
||||
if (srandomdev() < 0)
|
||||
srandom(time(NULL) ^ getpid());
|
||||
srandomdev();
|
||||
|
||||
/* Compute a random exit status between 0 and denom - 1. */
|
||||
if (random_exit)
|
||||
|
Loading…
Reference in New Issue
Block a user