[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] more touch-ups
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
main.c router.c
Log Message:
more touch-ups
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.247
retrieving revision 1.248
diff -u -d -r1.247 -r1.248
--- main.c 24 Apr 2004 22:17:50 -0000 1.247
+++ main.c 24 Apr 2004 23:32:24 -0000 1.248
@@ -364,7 +364,7 @@
router_upload_dir_desc_to_dirservers();
}
- /* 1b. Every MAX_LINK_KEY_LIFETIME seconds, we change our TLS context. */
+ /* 1b. Every MAX_SSL_KEY_LIFETIME seconds, we change our TLS context. */
if (!last_rotated_certificate)
last_rotated_certificate = now;
if (options.ORPort && last_rotated_certificate+MAX_SSL_KEY_LIFETIME < now) {
Index: router.c
===================================================================
RCS file: /home/or/cvsroot/src/or/router.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- router.c 24 Apr 2004 22:17:50 -0000 1.27
+++ router.c 24 Apr 2004 23:32:24 -0000 1.28
@@ -48,7 +48,7 @@
/* Replace the previous onion key with the current onion key, and generate
* a new previous onion key. Immediately after calling this function,
* the OR should:
- * a) shedule all previous cpuworker to shut down _after_ processing
+ * a) schedule all previous cpuworkers to shut down _after_ processing
* pending work. (This will cause fresh cpuworkers to be generated.)
* b) generate and upload a fresh routerinfo.
*/
@@ -473,7 +473,6 @@
strftime(published, 32, "%Y-%m-%d %H:%M:%S", gmtime(&router->published_on));
- /* XXXX eventually, don't include link key */
result = snprintf(s, maxlen,
"router %s %s %d %d %d\n"
"platform %s\n"