diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | bsd-arc4random.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ - (djm) Fix printing of $DISPLAY hack if set by system type. Report from Kevin Steves <stevesk@sweden.hp.com> - (djm) NeXT patch from Ben Lindstrom <mouring@pconline.com> + - (djm) Fix doh in bsd-arc4random.c 20000829 - (djm) Fix ^C ignored issue on Solaris. Diagnosis from Gert diff --git a/bsd-arc4random.c b/bsd-arc4random.c index a1f51546..86d15824 100644 --- a/bsd-arc4random.c +++ b/bsd-arc4random.c @@ -37,7 +37,7 @@ #define SEED_SIZE 20 /* Number of bytes to reseed after */ -#define REKEY_BYTES (1 >> 18) +#define REKEY_BYTES (1 << 18) static int rc4_ready = 0; static RC4_KEY rc4; |