1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 14:27:56 +00:00

Allow only rc4 for encryption, no plaintext

This commit is contained in:
Christophe Dumez 2007-06-15 20:43:31 +00:00
parent c39da36cca
commit 3b63d34f34

View File

@ -1180,7 +1180,8 @@ void GUI::configureSession(bool deleteOptions){
setInfoBar(tr("UPnP support [ON]"), "blue"); setInfoBar(tr("UPnP support [ON]"), "blue");
// Encryption settings // Encryption settings
int encryptionState = options->getEncryptionSetting(); 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; encryptionSettings.prefer_rc4 = true;
switch(encryptionState){ switch(encryptionState){
case 0: //Enabled case 0: //Enabled