[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Slightly more helpful msg on mismatched service pk digest i...
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Slightly more helpful msg on mismatched service pk digest i...
- From: nickm@seul.org (Nick Mathewson)
- Date: Mon, 5 Apr 2004 16:33:31 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 05 Apr 2004 16:33:46 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv20425/src/or
Modified Files:
rendservice.c
Log Message:
Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell
Index: rendservice.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rendservice.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- rendservice.c 5 Apr 2004 18:22:00 -0000 1.23
+++ rendservice.c 5 Apr 2004 20:33:29 -0000 1.24
@@ -342,7 +342,9 @@
return -1;
}
if (!memcmp(circuit->rend_pk_digest, request, 20)) {
- log_fn(LOG_WARN, "Got an INTRODUCE2 cell for the wrong service");
+ hex_encode(request, 4, hexid);
+ log_fn(LOG_WARN, "Got an INTRODUCE2 cell for the wrong service (%s)",
+ hexid);
return -1;
}