From 7a878c192f5000c5ef5d29a71924a41b6e5adf42 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Fri, 29 Aug 2014 16:38:54 -0400 Subject: Downgrade "Unexpected onionskin length after decryption" warning It's now a protocol-warn, since there's nothing relay operators can do about a client that sends them a malformed create cell. Resolves bug 12996; bugfix on 0.0.6rc1. --- src/or/onion_tap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/or') diff --git a/src/or/onion_tap.c b/src/or/onion_tap.c index 9a9f374b93..65f8275f75 100644 --- a/src/or/onion_tap.c +++ b/src/or/onion_tap.c @@ -122,8 +122,9 @@ onion_skin_TAP_server_handshake( "Couldn't decrypt onionskin: client may be using old onion key"); goto err; } else if (len != DH_KEY_LEN) { - log_warn(LD_PROTOCOL, "Unexpected onionskin length after decryption: %ld", - (long)len); + log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL, + "Unexpected onionskin length after decryption: %ld", + (long)len); goto err; } -- cgit v1.2.3-54-g00ecf