diff --git a/macosx/English.lproj/PrefsWindow.nib/keyedobjects.nib b/macosx/English.lproj/PrefsWindow.nib/keyedobjects.nib index 151273ce2..0fa8bf400 100644 Binary files a/macosx/English.lproj/PrefsWindow.nib/keyedobjects.nib and b/macosx/English.lproj/PrefsWindow.nib/keyedobjects.nib differ diff --git a/macosx/PrefsController.m b/macosx/PrefsController.m index 039eeef0c..c4b6488e7 100644 --- a/macosx/PrefsController.m +++ b/macosx/PrefsController.m @@ -79,7 +79,7 @@ tr_natTraversalEnable(fHandle, [fDefaults boolForKey: @"NatTraversal"]); //set encryption - //tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED); + tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED); //actually set bandwidth limits [self applySpeedSettings: nil]; @@ -341,7 +341,7 @@ - (void) setEncryptionRequired: (id) sender { - //tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED); + tr_setEncryptionMode(fHandle, [fDefaults boolForKey: @"EncryptionRequire"] ? TR_ENCRYPTION_REQUIRED : TR_ENCRYPTION_PREFERRED); } - (void) applySpeedSettings: (id) sender diff --git a/macosx/Torrent.m b/macosx/Torrent.m index d169aed01..29dfbf368 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -1039,7 +1039,7 @@ static int static_lastid = 0; if (peer->isUploading) [dic setObject: [NSNumber numberWithFloat: peer->downloadFromRate] forKey: @"DL From Rate"]; - [dic setObject: [NSNumber numberWithBool: /*peer->isEncrypted*/NO] forKey: @"Encryption"]; + [dic setObject: [NSNumber numberWithBool: peer->isEncrypted] forKey: @"Encryption"]; [dic setObject: [NSString stringWithCString: (char *) peer->client encoding: NSUTF8StringEncoding] forKey: @"Client"]; }