mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
undo commit that accidentally checked in testing code that only allowed connections from encrypted peers
This commit is contained in:
parent
c6aa57f306
commit
ea7513e59d
1 changed files with 1 additions and 1 deletions
|
@ -1070,7 +1070,7 @@ tr_handshakeNew( tr_peerIo * io,
|
|||
handshake = tr_new0( tr_handshake, 1 );
|
||||
handshake->io = io;
|
||||
handshake->crypto = tr_peerIoGetCrypto( io );
|
||||
handshake->allowUnencryptedPeers = 0;//encryption_mode!=TR_ENCRYPTION_REQUIRED;
|
||||
handshake->allowUnencryptedPeers = encryption_mode!=TR_ENCRYPTION_REQUIRED;
|
||||
handshake->doneCB = doneCB;
|
||||
handshake->doneUserData = doneUserData;
|
||||
handshake->handle = tr_peerIoGetHandle( io );
|
||||
|
|
Loading…
Reference in a new issue