aboutsummaryrefslogtreecommitdiff
path: root/src/feature/rend
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-09-02 14:11:18 -0400
committerNick Mathewson <nickm@torproject.org>2019-09-02 14:11:18 -0400
commite3a458e441fe9f823d564ca66753e3b76c7c0943 (patch)
tree7f5a813c244722f882d319adc26e98efa62e89df /src/feature/rend
parent25e7fc5b7a84c926f3acebd385e97d2679097bd6 (diff)
parent05fa1689eb96a1249030e1d51828a308d19d728c (diff)
downloadtor-e3a458e441fe9f823d564ca66753e3b76c7c0943.tar.gz
tor-e3a458e441fe9f823d564ca66753e3b76c7c0943.zip
Merge branch 'ticket12399_035' into maint-0.4.1
Diffstat (limited to 'src/feature/rend')
-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 849f355990..421e0f2139 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;
}