diff options
-rw-r--r-- | usr.sbin/bind/lib/isc/lfsr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bind/lib/isc/lfsr.c b/usr.sbin/bind/lib/isc/lfsr.c index 35149431b21..f68c428d44b 100644 --- a/usr.sbin/bind/lib/isc/lfsr.c +++ b/usr.sbin/bind/lib/isc/lfsr.c @@ -74,7 +74,7 @@ lfsr_generate(isc_lfsr_t *lfsr) } if (lfsr->state & 0x01) { - lfsr->state = ((lfsr->state ^ lfsr->tap) >> 1) | highbit; + lfsr->state = (lfsr->state >> 1) ^ lfsr->tap; return (1); } else { lfsr->state >>= 1; |