From 7b1939db2d55a502ea7bbbfcf70e13569fafa700 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 --- src/or/rendservice.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.47.3