summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortodd <>2001-01-04 21:45:31 +0000
committertodd <>2001-01-04 21:45:31 +0000
commit0ffb9efe9d94e444b3f3046be50ba1ea18e5ba86 (patch)
tree6eef3a919375cbf2ba0d402f2d93da5380a0ce42
parentf3315ef2b941ac47909f427a6db39ed51459e3b0 (diff)
downloadopenbsd-0ffb9efe9d94e444b3f3046be50ba1ea18e5ba86.tar.gz
openbsd-0ffb9efe9d94e444b3f3046be50ba1ea18e5ba86.tar.bz2
openbsd-0ffb9efe9d94e444b3f3046be50ba1ea18e5ba86.zip
grammer/spelling
-rw-r--r--src/lib/libc/crypt/bcrypt.c4
-rw-r--r--src/lib/libc/crypt/blowfish.c4
-rw-r--r--src/lib/libc/include/thread_private.h4
-rw-r--r--src/lib/libc/net/ipx_addr.c4
-rw-r--r--src/lib/libc/net/ns_addr.c4
-rw-r--r--src/lib/libc/net/res_random.c4
6 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/libc/crypt/bcrypt.c b/src/lib/libc/crypt/bcrypt.c
index 99338a9508..be049baa74 100644
--- a/src/lib/libc/crypt/bcrypt.c
+++ b/src/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bcrypt.c,v 1.13 2000/08/02 15:09:41 provos Exp $ */ 1/* $OpenBSD: bcrypt.c,v 1.14 2001/01/04 21:45:30 todd Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -237,7 +237,7 @@ bcrypt(key, salt)
237 /* Out of sync with passwd entry */ 237 /* Out of sync with passwd entry */
238 return error; 238 return error;
239 239
240 /* Computer power doesnt increase linear, 2^x should be fine */ 240 /* Computer power doesn't increase linear, 2^x should be fine */
241 if ((rounds = (u_int32_t) 1 << (logr = atoi(salt))) < BCRYPT_MINROUNDS) 241 if ((rounds = (u_int32_t) 1 << (logr = atoi(salt))) < BCRYPT_MINROUNDS)
242 return error; 242 return error;
243 243
diff --git a/src/lib/libc/crypt/blowfish.c b/src/lib/libc/crypt/blowfish.c
index 846cee0e8a..695fc00a6a 100644
--- a/src/lib/libc/crypt/blowfish.c
+++ b/src/lib/libc/crypt/blowfish.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: blowfish.c,v 1.14 1999/12/28 13:09:13 provos Exp $ */ 1/* $OpenBSD: blowfish.c,v 1.15 2001/01/04 21:45:30 todd Exp $ */
2/* 2/*
3 * Blowfish block cipher for OpenBSD 3 * Blowfish block cipher for OpenBSD
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -540,7 +540,7 @@ blf_key(c, k, len)
540 u_int16_t len; 540 u_int16_t len;
541#endif 541#endif
542{ 542{
543 /* Initalize S-boxes and subkeys with Pi */ 543 /* Initialize S-boxes and subkeys with Pi */
544 Blowfish_initstate(c); 544 Blowfish_initstate(c);
545 545
546 /* Transform S-boxes and subkeys with key */ 546 /* Transform S-boxes and subkeys with key */
diff --git a/src/lib/libc/include/thread_private.h b/src/lib/libc/include/thread_private.h
index c4c4ffe6e4..6b04fd9f75 100644
--- a/src/lib/libc/include/thread_private.h
+++ b/src/lib/libc/include/thread_private.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: thread_private.h,v 1.5 2000/09/08 06:11:36 brad Exp $ */ 1/* $OpenBSD: thread_private.h,v 1.6 2001/01/04 21:45:30 todd Exp $ */
2 2
3#ifndef _THREAD_PRIVATE_H_ 3#ifndef _THREAD_PRIVATE_H_
4#define _THREAD_PRIVATE_H_ 4#define _THREAD_PRIVATE_H_
@@ -6,7 +6,7 @@
6#include <pthread.h> 6#include <pthread.h>
7 7
8/* 8/*
9 * This variable is initally 0 when there is exactly one thread. 9 * This variable is initially 0 when there is exactly one thread.
10 * It should never decrease. 10 * It should never decrease.
11 */ 11 */
12extern int __isthreaded; 12extern int __isthreaded;
diff --git a/src/lib/libc/net/ipx_addr.c b/src/lib/libc/net/ipx_addr.c
index a76e03e913..9c9fe651cd 100644
--- a/src/lib/libc/net/ipx_addr.c
+++ b/src/lib/libc/net/ipx_addr.c
@@ -37,7 +37,7 @@
37 */ 37 */
38 38
39#if defined(LIBC_SCCS) && !defined(lint) 39#if defined(LIBC_SCCS) && !defined(lint)
40static char rcsid[] = "$OpenBSD: ipx_addr.c,v 1.3 1997/07/09 01:08:39 millert Exp $"; 40static char rcsid[] = "$OpenBSD: ipx_addr.c,v 1.4 2001/01/04 21:45:30 todd Exp $";
41#endif /* LIBC_SCCS and not lint */ 41#endif /* LIBC_SCCS and not lint */
42 42
43#include <sys/param.h> 43#include <sys/param.h>
@@ -64,7 +64,7 @@ ipx_addr(name)
64 * First, figure out what he intends as a field separtor. 64 * First, figure out what he intends as a field separtor.
65 * Despite the way this routine is written, the prefered 65 * Despite the way this routine is written, the prefered
66 * form 2-272.AA001234H.01777, i.e. XDE standard. 66 * form 2-272.AA001234H.01777, i.e. XDE standard.
67 * Great efforts are made to insure backward compatability. 67 * Great efforts are made to insure backward compatibility.
68 */ 68 */
69 if ((hostname = strchr(buf, '#'))) 69 if ((hostname = strchr(buf, '#')))
70 separator = '#'; 70 separator = '#';
diff --git a/src/lib/libc/net/ns_addr.c b/src/lib/libc/net/ns_addr.c
index 8f2e4bc513..e44ac21195 100644
--- a/src/lib/libc/net/ns_addr.c
+++ b/src/lib/libc/net/ns_addr.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#if defined(LIBC_SCCS) && !defined(lint) 37#if defined(LIBC_SCCS) && !defined(lint)
38static char rcsid[] = "$OpenBSD: ns_addr.c,v 1.4 1997/07/21 20:31:05 deraadt Exp $"; 38static char rcsid[] = "$OpenBSD: ns_addr.c,v 1.5 2001/01/04 21:45:31 todd Exp $";
39#endif /* LIBC_SCCS and not lint */ 39#endif /* LIBC_SCCS and not lint */
40 40
41#include <sys/param.h> 41#include <sys/param.h>
@@ -63,7 +63,7 @@ ns_addr(name)
63 * First, figure out what he intends as a field separtor. 63 * First, figure out what he intends as a field separtor.
64 * Despite the way this routine is written, the prefered 64 * Despite the way this routine is written, the prefered
65 * form 2-272.AA001234H.01777, i.e. XDE standard. 65 * form 2-272.AA001234H.01777, i.e. XDE standard.
66 * Great efforts are made to insure backward compatability. 66 * Great efforts are made to insure backward compatibility.
67 */ 67 */
68 if ((hostname = strchr(buf, '#'))) 68 if ((hostname = strchr(buf, '#')))
69 separator = '#'; 69 separator = '#';
diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c
index ef768a7348..a11241246d 100644
--- a/src/lib/libc/net/res_random.c
+++ b/src/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_random.c,v 1.8 1999/08/26 13:38:10 provos Exp $ */ 1/* $OpenBSD: res_random.c,v 1.9 2001/01/04 21:45:31 todd Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -125,7 +125,7 @@ pmod(gen, exp, mod)
125} 125}
126 126
127/* 127/*
128 * Initalizes the seed and chooses a suitable generator. Also toggles 128 * Initializes the seed and chooses a suitable generator. Also toggles
129 * the msb flag. The msb flag is used to generate two distinct 129 * the msb flag. The msb flag is used to generate two distinct
130 * cycles of random numbers and thus avoiding reuse of ids. 130 * cycles of random numbers and thus avoiding reuse of ids.
131 * 131 *