It's amazing how wrong things look when you invert the booleans on your

sanity checks.


svn:r1487
This commit is contained in:
Nick Mathewson
2004-04-05 20:34:58 +00:00
parent 6b528a2da9
commit fd1f94334b
+1 -1
View File
@@ -341,7 +341,7 @@ rend_service_introduce(circuit_t *circuit, const char *request, int request_len)
hexid);
return -1;
}
if (!memcmp(circuit->rend_pk_digest, request, 20)) {
if (memcmp(circuit->rend_pk_digest, request, 20)) {
hex_encode(request, 4, hexid);
log_fn(LOG_WARN, "Got an INTRODUCE2 cell for the wrong service (%s)",
hexid);