aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-09-02 14:11:32 -0400
committerNick Mathewson <nickm@torproject.org>2019-09-02 14:11:32 -0400
commit01bda9bed1bbbeb808053ff9b23e5db4e10dd765 (patch)
tree65f1d2e6f7884ffe5d89593ca5c6c032be0e70b4 /src
parentf538e2398698d4aa05b65bba857260fed9126ef3 (diff)
parente3a458e441fe9f823d564ca66753e3b76c7c0943 (diff)
downloadtor-01bda9bed1bbbeb808053ff9b23e5db4e10dd765.tar.gz
tor-01bda9bed1bbbeb808053ff9b23e5db4e10dd765.zip
Merge branch 'maint-0.4.1'
Diffstat (limited to 'src')
-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 ef2a44c40d..bc86df632c 100644
--- a/src/feature/rend/rendmid.c
+++ b/src/feature/rend/rendmid.c
@@ -71,7 +71,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;
}