Browse Source

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


svn:r1487

Nick Mathewson 21 years ago
parent
commit
2d3aea40a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/rendservice.c

+ 1 - 1
src/or/rendservice.c

@@ -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);