summaryrefslogtreecommitdiffstats
path: root/bsd-arc4random.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-08-30 14:06:35 +1100
committerDamien Miller <djm@mindrot.org>2000-08-30 14:06:35 +1100
commit250ee8b3ef36a9116360c088c7a73bc77bf81afd (patch)
tree8e0a4d857ef297dd52da7601e2a3c27dabd8035b /bsd-arc4random.c
parent77aba9d02490a7cac75c15d44ef6f9a9a79d3fbf (diff)
- (djm) Fix doh in bsd-arc4random.c
Diffstat (limited to 'bsd-arc4random.c')
-rw-r--r--bsd-arc4random.c2
1 files changed, 1 insertions, 1 deletions
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;