diff options
| author | Conrad Meyer <cem@FreeBSD.org> | 2018-10-26 20:55:01 +0000 |
|---|---|---|
| committer | Conrad Meyer <cem@FreeBSD.org> | 2018-10-26 20:55:01 +0000 |
| commit | 9a88479843e2314018f66fd2cdad5ae0200393d0 (patch) | |
| tree | 0e54692ed9f6c8375875cd59d212b1bdf3ec584f /sys/dev/random | |
| parent | 070249043e4f6927f478a75f9179762ee4c723aa (diff) | |
Notes
Diffstat (limited to 'sys/dev/random')
| -rw-r--r-- | sys/dev/random/fortuna.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/fortuna.c b/sys/dev/random/fortuna.c index f9a29fd5a596..0eaffa1de439 100644 --- a/sys/dev/random/fortuna.c +++ b/sys/dev/random/fortuna.c @@ -408,7 +408,7 @@ random_fortuna_pre_read(void) SDT_PROBE2(random, fortuna, event_processor, debug, fortuna_state.fs_reseedcount, fortuna_state.fs_pool); #endif /* FS&K */ - random_fortuna_reseed_internal(s, i < RANDOM_FORTUNA_NPOOLS ? i + 1 : RANDOM_FORTUNA_NPOOLS); + random_fortuna_reseed_internal(s, i); /* Clean up and secure */ explicit_bzero(s, sizeof(s)); explicit_bzero(temp, sizeof(temp)); |
