mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Slightly more helpful msg on mismatched service pk digest in INTRODUCE2 cell
svn:r1486
This commit is contained in:
parent
eafb8186e5
commit
7b1939db2d
@ -342,7 +342,9 @@ rend_service_introduce(circuit_t *circuit, const char *request, int request_len)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if (!memcmp(circuit->rend_pk_digest, request, 20)) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user