summaryrefslogtreecommitdiff
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 a1f515461..86d158243 100644
--- a/bsd-arc4random.c
+++ b/bsd-arc4random.c
@@ -37,7 +37,7 @@
37#define SEED_SIZE 20 37#define SEED_SIZE 20
38 38
39/* Number of bytes to reseed after */ 39/* Number of bytes to reseed after */
40#define REKEY_BYTES (1 >> 18) 40#define REKEY_BYTES (1 << 18)
41 41
42static int rc4_ready = 0; 42static int rc4_ready = 0;
43static RC4_KEY rc4; 43static RC4_KEY rc4;