[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Documentation cleanups throughout the code; remove some...



Update of /home/minion/cvsroot/src/minion/src
In directory moria.mit.edu:/tmp/cvs-serv30050/src

Modified Files:
	_minionlib.h aes_ctr.c crypt.c fec.c main.c tls.c 
Log Message:
Documentation cleanups throughout the code; remove some obsolete stuff; kill bad whitespace; update copyright dates

Index: _minionlib.h
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/_minionlib.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- _minionlib.h	9 Oct 2003 03:56:30 -0000	1.20
+++ _minionlib.h	6 Mar 2004 00:04:38 -0000	1.21
@@ -1,4 +1,4 @@
-/* Copyright (c) 2002,2003 Nick Mathewson.  See LICENSE for licensing information */
+/* Copyright 2002-2004 Nick Mathewson.  See LICENSE for licensing information*/
 /* $Id$ */
 #ifndef _MINIONLIB_H
 #define _MINIONLIB_H

Index: aes_ctr.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/aes_ctr.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- aes_ctr.c	9 Oct 2003 03:56:30 -0000	1.16
+++ aes_ctr.c	6 Mar 2004 00:04:38 -0000	1.17
@@ -1,4 +1,4 @@
-/* Copyright (c) 2002-2003 Nick Mathewson.  See LICENSE for licensing information */
+/* Copyright 2002-2004 Nick Mathewson.  See LICENSE for licensing information*/
 /* $Id$ */
 
 /* This file reimplements counter mode.  The OpenSSL implementation is

Index: crypt.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/crypt.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- crypt.c	28 Nov 2003 04:14:05 -0000	1.35
+++ crypt.c	6 Mar 2004 00:04:38 -0000	1.36
@@ -1,4 +1,4 @@
-/* Copyright (c) 2002-2003 Nick Mathewson.  See LICENSE for licensing information */
+/* Copyright 2002-2004 Nick Mathewson.  See LICENSE for licensing information*/
 /* $Id$ */
 #include <Python.h>
 

Index: fec.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/fec.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- fec.c	12 Dec 2003 23:53:31 -0000	1.12
+++ fec.c	6 Mar 2004 00:04:38 -0000	1.13
@@ -1,4 +1,4 @@
-/* Portions Copyright (c) 2003 Nick Mathewson.  See LICENCE for licensing
+/* Portions Copyright 2003-2004 Nick Mathewson.  See LICENCE for licensing
  * information. */
 /* $Id$ */
 

Index: main.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- main.c	16 Feb 2004 22:28:13 -0000	1.24
+++ main.c	6 Mar 2004 00:04:38 -0000	1.25
@@ -1,4 +1,4 @@
-/* Copyright 2002-2004 Nick Mathewson.  See LICENSE for licensing information */
+/* Copyright 2002-2004 Nick Mathewson.  See LICENSE for licensing information*/
 /* $Id$ */
 
 /*

Index: tls.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/tls.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- tls.c	7 Feb 2004 21:27:58 -0000	1.34
+++ tls.c	6 Mar 2004 00:04:38 -0000	1.35
@@ -1,4 +1,4 @@
-/* Copyright (c) 2002-2003 Nick Mathewson.  See LICENSE for licensing information */
+/* Copyright 2002-2004 Nick Mathewson.  See LICENSE for licensing information*/
 /* $Id$ */
 #include "_minionlib.h"
 
@@ -752,7 +752,6 @@
 {
         SSL *ssl;
         unsigned long r, w;
-        PyObject *tup;
         assert(mm_TLSSock_Check(self));
         FAIL_IF_ARGS();
         ssl = ((mm_TLSSock*)self)->ssl;
@@ -761,24 +760,6 @@
         return PyInt_FromLong((long)(r+w));
 }
 
-#if 0
-static char mm_TLSSock_get_num_renegotiations__doc__[] =
-"tlssock.get_num_renegotiations()\n\n";
-
-static PyObject*
-mm_TLSSock_get_num_renegotiations(PyObject *self, PyObject *args,
-                                  PyObject *kwargs)
-{
-        SSL *ssl;
-
-        assert(mm_TLSSock_Check(self));
-        FAIL_IF_ARGS();
-        ssl = ((mm_TLSSock*)self)->ssl;
-
-        return PyInt_FromLong(SSL_num_renegotiations(ssl));
-}
-#endif
-
 static PyMethodDef mm_TLSSock_methods[] = {
         METHOD(mm_TLSSock, accept),
         METHOD(mm_TLSSock, connect),
@@ -793,9 +774,6 @@
         METHOD(mm_TLSSock, do_handshake),
         METHOD(mm_TLSSock, renegotiate),
         METHOD(mm_TLSSock, get_num_bytes_raw),
-#if 0
-        METHOD(mm_TLSSock, get_num_renegotiations),
-#endif
         { NULL, NULL }
 };