aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-23 08:30:48 +1000
committerteor <teor@torproject.org>2019-10-23 08:30:48 +1000
commit27965f1ef2ff44e2ce7e3f1af72f9112fb30bde5 (patch)
tree134f8dc4a61163d04c1e30ba8abecd26e348e8b5 /src
parent003be727c4a88c04424cb13429cf36f887e92f5c (diff)
parent05fa1689eb96a1249030e1d51828a308d19d728c (diff)
downloadtor-27965f1ef2ff44e2ce7e3f1af72f9112fb30bde5.tar.gz
tor-27965f1ef2ff44e2ce7e3f1af72f9112fb30bde5.zip
Merge remote-tracking branch 'tor-github/pr/1284' into maint-0.3.5
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 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;
}