summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-21 18:13:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-21 18:13:13 +0000
commit6c66b97441063f07cf4979ac3470b2cb5feff987 (patch)
tree9b361d6471a6cd36978bb3dd28ef1c1817955f2a /lib
parent4e33bddfba60a4b64352d61fe6f0ed208c010186 (diff)
missing newline
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/crypt/arc4random.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/crypt/arc4random.c b/lib/libc/crypt/arc4random.c
index e4b6369bf1e..64248b6ac85 100644
--- a/lib/libc/crypt/arc4random.c
+++ b/lib/libc/crypt/arc4random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc4random.c,v 1.49 2014/07/20 20:51:13 bcook Exp $ */
+/* $OpenBSD: arc4random.c,v 1.50 2014/07/21 18:13:12 deraadt Exp $ */
/*
* Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -165,6 +165,7 @@ static inline void
_rs_random_u32(uint32_t *val)
{
u_char *keystream;
+
_rs_stir_if_needed(sizeof(*val));
if (rs->rs_have < sizeof(*val))
_rs_rekey(NULL, 0);