undo commit that accidentally checked in testing code that only allowed connections from encrypted peers

This commit is contained in:
Charles Kerr 2007-09-22 05:40:33 +00:00
parent c6aa57f306
commit ea7513e59d
1 changed files with 1 additions and 1 deletions

View File

@ -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 );