mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
removed an assertion that depended on valid input from a peer in order to be true.
This commit is contained in:
parent
b6483cbf3f
commit
3a6985195d
1 changed files with 0 additions and 1 deletions
|
@ -653,7 +653,6 @@ readHandshake( tr_handshake * handshake, struct evbuffer * inbuf )
|
||||||
}
|
}
|
||||||
else /* outgoing */
|
else /* outgoing */
|
||||||
{
|
{
|
||||||
assert( tr_torrentExists( handshake->handle, hash ) );
|
|
||||||
assert( tr_peerIoHasTorrentHash( handshake->io ) );
|
assert( tr_peerIoHasTorrentHash( handshake->io ) );
|
||||||
if( memcmp( hash, tr_peerIoGetTorrentHash(handshake->io), SHA_DIGEST_LENGTH ) )
|
if( memcmp( hash, tr_peerIoGetTorrentHash(handshake->io), SHA_DIGEST_LENGTH ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue