diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-05 20:33:29 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-05 20:33:29 +0000 |
commit | 7b1939db2d55a502ea7bbbfcf70e13569fafa700 (patch) | |
tree | 1c18fb46e9c874351309eb6aeba548e531940962 /src/or | |
parent | eafb8186e5c2f91b0b78c2189a9cb85c68584c4a (diff) | |
download | tor-7b1939db2d55a502ea7bbbfcf70e13569fafa700.tar.gz tor-7b1939db2d55a502ea7bbbfcf70e13569fafa700.zip |
Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell
svn:r1486
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/rendservice.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |