[or-cvs] if johnny has three fenceposts, and jill takes four away...
Roger Dingledine
arma at seul.org
Wed Jul 21 22:37:05 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
dirserv.c
Log Message:
if johnny has three fenceposts, and jill takes four away...
Index: dirserv.c
===================================================================
RCS file: /home/or/cvsroot/src/or/dirserv.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- dirserv.c 21 Jul 2004 09:13:12 -0000 1.62
+++ dirserv.c 21 Jul 2004 22:37:03 -0000 1.63
@@ -473,7 +473,7 @@
} else {
name = tor_malloc(HEX_DIGEST_LEN+2);
*name = '$';
- base16_encode(name+1, HEX_DIGEST_LEN, conn->identity_digest, DIGEST_LEN);
+ base16_encode(name+1, HEX_DIGEST_LEN+1, conn->identity_digest, DIGEST_LEN);
}
if(conn->state == OR_CONN_STATE_OPEN)
More information about the tor-commits
mailing list