mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +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
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue