]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Change loglevel of message 'Hash of session info was not as expected'
authorrl1987 <rl1987@sdf.lonestar.org>
Sat, 20 Jul 2019 15:28:07 +0000 (18:28 +0300)
committerNick Mathewson <nickm@torproject.org>
Mon, 2 Sep 2019 18:09:39 +0000 (14:09 -0400)
changes/bug12399 [new file with mode: 0644]
src/feature/rend/rendmid.c

diff --git a/changes/bug12399 b/changes/bug12399
new file mode 100644 (file)
index 0000000..922c08c
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes (logging):
+    - Change log level of message "Hash of session info was not as expected"
+      to LOG_PROTOCOL_WARN. Fixes bug 12399; bugfix on 0.1.1.10-alpha.
index fcfa5052cb34d40975038eb215a7d3067ad4b1a6..3ba48f8858473ca5558cb2a7ef99d1a3c050c414 100644 (file)
@@ -70,7 +70,8 @@ rend_mid_establish_intro_legacy(or_circuit_t *circ, const uint8_t *request,
     goto err;
   }
   if (tor_memneq(expected_digest, request+2+asn1len, DIGEST_LEN)) {
-    log_warn(LD_PROTOCOL, "Hash of session info was not as expected.");
+    log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
+           "Hash of session info was not as expected.");
     reason = END_CIRC_REASON_TORPROTOCOL;
     goto err;
   }