[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Spelling fixes
Update of /home/minion/cvsroot/src/minion/src
In directory moria.mit.edu:/tmp/cvs-serv8484/src
Modified Files:
aes_ctr.c fec.c main.c tls.c
Log Message:
Spelling fixes
Index: aes_ctr.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/aes_ctr.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- aes_ctr.c 10 Jul 2003 18:39:16 -0000 1.14
+++ aes_ctr.c 13 Jul 2003 03:45:36 -0000 1.15
@@ -8,7 +8,7 @@
* but that's not the same.)
* c) It uses some awfully brute-forceish logic to increment
* the counter. Sure, that's not in the critical path,
- * but it still wrankles.
+ * but it still rankles.
*
* Disclosure: I have seen and played with the OpenSSL implementation for
* a while before I decided to abandon it.
Index: fec.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/fec.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- fec.c 10 Jul 2003 18:39:16 -0000 1.6
+++ fec.c 13 Jul 2003 03:45:36 -0000 1.7
@@ -60,7 +60,7 @@
* The first part of the file implements linear algebra in GF.
*
* gf is the type used to store an element of the Galois Field.
- * Must constain at least GF_BITS bits.
+ * Must contain at least GF_BITS bits.
*
* Note: unsigned char will work up to GF(256) but int seems to run
* faster on the Pentium. We use int whenever have to deal with an
@@ -107,7 +107,7 @@
* and inverse of a number. If GF_BITS <= 8, we use a table for
* multiplication as well (it takes 64K, no big deal even on a PDA,
* especially because it can be pre-initialized an put into a ROM!),
- * otherwhise we use a table of logarithms.
+ * otherwise we use a table of logarithms.
* In any case the macro gf_mul(x,y) takes care of multiplications.
*/
@@ -191,6 +191,8 @@
/*
* i use malloc so many times, it is easier to put checks all in
* one place.
+ *
+ * XXXX005 Pythonize this. -NM
*/
static void *
my_malloc(int sz, char *err_string)
@@ -235,7 +237,7 @@
gf_exp[GF_BITS] ^= mask;
}
/*
- * now gf_exp[GF_BITS] = \alpha ** GF_BITS is complete, so can als
+ * now gf_exp[GF_BITS] = \alpha ** GF_BITS is complete, so can also
* compute its inverse.
*/
gf_log[gf_exp[GF_BITS]] = GF_BITS;
@@ -264,7 +266,7 @@
/*
* again special cases. 0 has no inverse. This used to
* be initialized to GF_SIZE, but it should make no difference
- * since noone is supposed to read from here.
+ * since no one is supposed to read from here.
*/
inverse[0] = 0 ;
inverse[1] = 1;
Index: main.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/main.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- main.c 10 Jul 2003 20:01:31 -0000 1.17
+++ main.c 13 Jul 2003 03:45:36 -0000 1.18
@@ -57,7 +57,7 @@
exception: Set to point to a pointer to the newly allocated exception.
longName: The fully qualified name of this exception.
itemString: The name of this exception within the module.
- doc: The doctring for this exception.
+ doc: The docstring for this exception.
returns 1 on failure; 0 on success */
static int
Index: tls.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/tls.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- tls.c 5 Jun 2003 18:41:41 -0000 1.25
+++ tls.c 13 Jul 2003 03:45:36 -0000 1.26
@@ -111,8 +111,7 @@
"Allocates a new TLSContext object. The files, if provided, are used\n"
"contain the PEM-encoded X509 public keys, private key, and DH\n"
"parameters for this context.\n\n"
- "If a cert is provided, assume we're working in server mode, and allow\n"
- "BUG:In the future, certs, pks, and dh parameters will be first-class.\n\n"
+ "If a cert is provided, assume we're working in server mode, and allow\n\n"
"LIMITATION: We don\'t expose any more features than Mixminion needs.\n";
PyObject*
@@ -678,7 +677,7 @@
}
static char mm_TLSSock_renegotiate__doc__[] =
- "tlssock.renegotate()\n\n"
+ "tlssock.renegotiate()\n\n"
"Mark this connection as requiring renegotiation. No renegotiation is\n"
"performed until do_handshake is called. Note that renegotiation only\n"
"works intuitively on the client side.\n";