From: Nick Mathewson Date: Mon, 5 Apr 2004 20:33:29 +0000 (+0000) Subject: Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell X-Git-Tag: tor-0.0.6incompat-merged~158 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b1939db2d55a502ea7bbbfcf70e13569fafa700;p=thirdparty%2Ftor.git Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell svn:r1486 --- diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 974a71e99e..5bf944690b 100644 --- a/src/or/rendservice.c +++ b/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; }