mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge remote-tracking branch 'arma/bug12996b' into maint-0.2.5
This commit is contained in:
commit
41058dce95
5
changes/bug12996
Normal file
5
changes/bug12996
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- Downgrade "Unexpected onionskin length after decryption" warning
|
||||||
|
to 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.
|
@ -122,7 +122,8 @@ onion_skin_TAP_server_handshake(
|
|||||||
"Couldn't decrypt onionskin: client may be using old onion key");
|
"Couldn't decrypt onionskin: client may be using old onion key");
|
||||||
goto err;
|
goto err;
|
||||||
} else if (len != DH_KEY_LEN) {
|
} else if (len != DH_KEY_LEN) {
|
||||||
log_warn(LD_PROTOCOL, "Unexpected onionskin length after decryption: %ld",
|
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
|
||||||
|
"Unexpected onionskin length after decryption: %ld",
|
||||||
(long)len);
|
(long)len);
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user