]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell
authorNick Mathewson <nickm@torproject.org>
Mon, 5 Apr 2004 20:33:29 +0000 (20:33 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 5 Apr 2004 20:33:29 +0000 (20:33 +0000)
svn:r1486

src/or/rendservice.c

index 974a71e99e697f3c1c371716d9e9864fa5945370..5bf944690b454543b31266f857eadb7d708f08d0 100644 (file)
@@ -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;
   }