summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt
diff options
context:
space:
mode:
authorhshoexer <>2004-11-02 11:07:13 +0000
committerhshoexer <>2004-11-02 11:07:13 +0000
commit3d26b52fa07481c5e5ea45aadb74ca49ad7d2ea1 (patch)
tree8a0e1c2348627a68c2618f1acb66c85792d11782 /src/lib/libc/crypt
parent93e59ba545ddf1c7fcad64fed52065a11c1a74d8 (diff)
downloadopenbsd-3d26b52fa07481c5e5ea45aadb74ca49ad7d2ea1.tar.gz
openbsd-3d26b52fa07481c5e5ea45aadb74ca49ad7d2ea1.tar.bz2
openbsd-3d26b52fa07481c5e5ea45aadb74ca49ad7d2ea1.zip
kill spaces
ok djm@
Diffstat (limited to 'src/lib/libc/crypt')
-rw-r--r--src/lib/libc/crypt/arc4random.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/crypt/arc4random.c b/src/lib/libc/crypt/arc4random.c
index 5b376488ec..5c768f5494 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.10 2003/11/26 21:40:08 djm Exp $ */ 1/* $OpenBSD: arc4random.c,v 1.11 2004/11/02 11:07:13 hshoexer Exp $ */
2 2
3/* 3/*
4 * Arc4 random number generator for OpenBSD. 4 * Arc4 random number generator for OpenBSD.
@@ -99,14 +99,14 @@ arc4_stir(struct arc4_stream *as)
99 } 99 }
100 100
101 arc4_stir_pid = getpid(); 101 arc4_stir_pid = getpid();
102 arc4_addrandom(as, (void *) &rdat, sizeof(rdat)); 102 arc4_addrandom(as, (void *)&rdat, sizeof(rdat));
103 103
104 /* 104 /*
105 * Discard early keystream, as per recommendations in: 105 * Discard early keystream, as per recommendations in:
106 * http://www.wisdom.weizmann.ac.il/~itsik/RC4/Papers/Rc4_ksa.ps 106 * http://www.wisdom.weizmann.ac.il/~itsik/RC4/Papers/Rc4_ksa.ps
107 */ 107 */
108 for (i = 0; i < 256; i++) 108 for (i = 0; i < 256; i++)
109 (void) arc4_getbyte(as); 109 (void)arc4_getbyte(as);
110} 110}
111 111
112static inline u_int8_t 112static inline u_int8_t