summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorderaadt <>2013-06-11 16:59:50 +0000
committerderaadt <>2013-06-11 16:59:50 +0000
commit120d51ade73f4026bf4990061484c8c3dd3cc29d (patch)
treed7325bdafac55639d4f144542e843ac71df973ca /src
parent2db43f90de87aaaadeccbb6ce07a69308fcecdf4 (diff)
downloadopenbsd-120d51ade73f4026bf4990061484c8c3dd3cc29d.tar.gz
openbsd-120d51ade73f4026bf4990061484c8c3dd3cc29d.tar.bz2
openbsd-120d51ade73f4026bf4990061484c8c3dd3cc29d.zip
spacing
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/crypt/arc4random.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/crypt/arc4random.c b/src/lib/libc/crypt/arc4random.c
index 1697752a1a..f00f5ee9f1 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.23 2012/06/24 18:25:12 matthew Exp $ */ 1/* $OpenBSD: arc4random.c,v 1.24 2013/06/11 16:59:50 deraadt Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1996, David Mazieres <dm@uun.org> 4 * Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -120,8 +120,7 @@ arc4_stir_if_needed(void)
120{ 120{
121 pid_t pid = getpid(); 121 pid_t pid = getpid();
122 122
123 if (arc4_count <= 0 || !rs_initialized || arc4_stir_pid != pid) 123 if (arc4_count <= 0 || !rs_initialized || arc4_stir_pid != pid) {
124 {
125 arc4_stir_pid = pid; 124 arc4_stir_pid = pid;
126 arc4_stir(); 125 arc4_stir();
127 } 126 }