tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit fca590a63f8950b910d4f6b3a4ff39a009e9bf32
parent 59072d20277fe6250d0e9b6cf90bf41a75ad651c
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon, 11 Sep 2017 16:13:55 -0400

Merge branch 'ticket23304_032_01_squashed'

Diffstat:
Msrc/or/hs_client.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/or/hs_client.c b/src/or/hs_client.c @@ -943,7 +943,10 @@ hs_client_decode_descriptor(const char *desc_str, ret = hs_desc_decode_descriptor(desc_str, subcredential, desc); memwipe(subcredential, 0, sizeof(subcredential)); if (ret < 0) { - log_warn(LD_GENERAL, "Could not parse received descriptor as client"); + log_warn(LD_GENERAL, "Could not parse received descriptor as client."); + if (get_options()->SafeLogging_ == SAFELOG_SCRUB_NONE) { + log_warn(LD_GENERAL, "%s", escaped(desc_str)); + } goto err; }