aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2019-07-20 18:28:07 +0300
committerNick Mathewson <nickm@torproject.org>2019-09-02 14:09:39 -0400
commit05fa1689eb96a1249030e1d51828a308d19d728c (patch)
treeb109f3a67f0af3566e7655b8d9728edadae9df81 /src/feature
parent1132dc9f75d7e5cbda1c5a6ac91d82c420967c0e (diff)
downloadtor-05fa1689eb96a1249030e1d51828a308d19d728c.tar.gz
tor-05fa1689eb96a1249030e1d51828a308d19d728c.zip
Change loglevel of message 'Hash of session info was not as expected'
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/rend/rendmid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/rend/rendmid.c b/src/feature/rend/rendmid.c
index fcfa5052cb..3ba48f8858 100644
--- a/src/feature/rend/rendmid.c
+++ b/src/feature/rend/rendmid.c
@@ -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;
}