summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt
diff options
context:
space:
mode:
authorderaadt <>2014-07-21 18:13:12 +0000
committerderaadt <>2014-07-21 18:13:12 +0000
commit07d822ea8c9ec700f324f8c30af2e4e49fcabb93 (patch)
tree13cb0b527720909c052c955f2213293b8001c2a7 /src/lib/libc/crypt
parenta1d8bc2426c6d8556e2b50d906d47733bcb192f8 (diff)
downloadopenbsd-07d822ea8c9ec700f324f8c30af2e4e49fcabb93.tar.gz
openbsd-07d822ea8c9ec700f324f8c30af2e4e49fcabb93.tar.bz2
openbsd-07d822ea8c9ec700f324f8c30af2e4e49fcabb93.zip
missing newline
Diffstat (limited to 'src/lib/libc/crypt')
-rw-r--r--src/lib/libc/crypt/arc4random.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/crypt/arc4random.c b/src/lib/libc/crypt/arc4random.c
index e4b6369bf1..64248b6ac8 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.49 2014/07/20 20:51:13 bcook Exp $ */ 1/* $OpenBSD: arc4random.c,v 1.50 2014/07/21 18:13:12 deraadt Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996, David Mazieres <dm@uun.org> 4 * Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -165,6 +165,7 @@ static inline void
165_rs_random_u32(uint32_t *val) 165_rs_random_u32(uint32_t *val)
166{ 166{
167 u_char *keystream; 167 u_char *keystream;
168
168 _rs_stir_if_needed(sizeof(*val)); 169 _rs_stir_if_needed(sizeof(*val));
169 if (rs->rs_have < sizeof(*val)) 170 if (rs->rs_have < sizeof(*val))
170 _rs_rekey(NULL, 0); 171 _rs_rekey(NULL, 0);