From ea7513e59dfc902e763a823cbfcc3241cf7ab3b3 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 22 Sep 2007 05:40:33 +0000 Subject: [PATCH] undo commit that accidentally checked in testing code that only allowed connections from encrypted peers --- libtransmission/handshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/handshake.c b/libtransmission/handshake.c index 26bd1a5fd..59818ac22 100644 --- a/libtransmission/handshake.c +++ b/libtransmission/handshake.c @@ -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 );