From 6b528a2da9f1c0e0f82708bcdbdb98f4eaf846fc Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 5 Apr 2004 20:33:29 +0000 Subject: [PATCH] Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell svn:r1486 --- trunk/src/or/rendservice.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/src/or/rendservice.c b/trunk/src/or/rendservice.c index 974a71e99e..5bf944690b 100644 --- a/trunk/src/or/rendservice.c +++ b/trunk/src/or/rendservice.c @@ -342,7 +342,9 @@ rend_service_introduce(circuit_t *circuit, const char *request, int request_len) 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; }