summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/crypt/arc4random.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libc/crypt/arc4random.c b/src/lib/libc/crypt/arc4random.c
index 7ff1495fc4..e08b729a04 100644
--- a/src/lib/libc/crypt/arc4random.c
+++ b/src/lib/libc/crypt/arc4random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: arc4random.c,v 1.30 2014/05/06 16:06:33 tedu Exp $ */ 1/* $OpenBSD: arc4random.c,v 1.31 2014/05/31 10:32:12 jca Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996, David Mazieres <dm@uun.org> 4 * Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -165,7 +165,6 @@ _rs_random_u32(u_int32_t *val)
165 memcpy(val, rs_buf + RSBUFSZ - rs_have, sizeof(*val)); 165 memcpy(val, rs_buf + RSBUFSZ - rs_have, sizeof(*val));
166 memset(rs_buf + RSBUFSZ - rs_have, 0, sizeof(*val)); 166 memset(rs_buf + RSBUFSZ - rs_have, 0, sizeof(*val));
167 rs_have -= sizeof(*val); 167 rs_have -= sizeof(*val);
168 return;
169} 168}
170 169
171u_int32_t 170u_int32_t