Commit 2d3aea40 authored by Nick Mathewson's avatar Nick Mathewson 🐘
Browse files

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

sanity checks.


svn:r1487
parent 7b1939db
Loading
Loading
Loading
Loading
+1 −1
Changes for src/or/rendservice.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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);