mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Allow only rc4 for encryption, no plaintext
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user