From 3b63d34f34dcb191e8559a32999ebd0e0d1c251e Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 15 Jun 2007 20:43:31 +0000 Subject: [PATCH] Allow only rc4 for encryption, no plaintext --- src/GUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index 9d1fcf8e7..12e4a4ada 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -1180,7 +1180,8 @@ void GUI::configureSession(bool deleteOptions){ setInfoBar(tr("UPnP support [ON]"), "blue"); // Encryption settings int encryptionState = options->getEncryptionSetting(); - encryptionSettings.allowed_enc_level = pe_settings::both; + // The most secure, rc4 only so that all streams and encrypted + encryptionSettings.allowed_enc_level = pe_settings::rc4; encryptionSettings.prefer_rc4 = true; switch(encryptionState){ case 0: //Enabled