fix bug in protocol encryption/obfuscation
This commit is contained in:
parent
f49d194186
commit
26ec7921c3
|
@ -1,3 +1,4 @@
|
|||
* fix bug in protocol encryption/obfuscation
|
||||
* fix buffer overflow in SOCKS5 UDP logic
|
||||
* fix issue of rapid calls to file_priority() clobbering each other
|
||||
* clear tracker errors on success
|
||||
|
|
|
@ -328,7 +328,7 @@ namespace libtorrent {
|
|||
|
||||
std::tuple<int, int, int> rc4_handler::decrypt(span<span<char>> bufs)
|
||||
{
|
||||
if (!m_decrypt) std::make_tuple(0, 0, 0);
|
||||
if (!m_decrypt) return std::make_tuple(0, 0, 0);
|
||||
|
||||
int bytes_processed = 0;
|
||||
for (auto& buf : bufs)
|
||||
|
|
Loading…
Reference in New Issue